aiocoap.tokenmanager module

class aiocoap.tokenmanager.TokenManager(context)

Bases: RequestInterface, TokenManager

outgoing_requests

Unfinished outgoing requests (identified by token and remote)

incoming_requests

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

property client_credentials
async shutdown()
next_token()

Reserve and return a new Token for request.

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