CoapClient.yankRequest

Given a packet this will try and find an active request with a matching token and return it.

This will also remove it from the requests queue.

class CoapClient
package
yankRequest
(
CoapPacket packet
)

Parameters

packet CoapPacket

the packet received

Return Value

the original CoapRequest if a match is found, otherwise null

Meta