aiocoap.tokenmanager module

class aiocoap.tokenmanager.TokenManager(context)

Bases: aiocoap.interfaces.RequestInterface, aiocoap.interfaces.TokenManager

outgoing_requests = None

Unfinished outgoing requests (identified by token and remote)

incoming_requests = None

Unfinished incoming requests.

(token, remote): (Pipe, stopper) where stopper is a function unregistes the Pipe event handler and thus indicates to the server the discontinued interest

client_credentials
next_token()

Reserve and return a new Token for request.

dispatch_error(exception, remote)
fill_or_recognize_remote(message)
shutdown()
process_request(request)
process_response(response)
request(request)