aiocoap.tokenmanager module¶
- class aiocoap.tokenmanager.TokenManager(context)¶
Bases:
RequestInterface,TokenManager- token_interface: TokenInterface¶
- outgoing_requests¶
Unfinished outgoing requests (identified by token and remote)
- incoming_requests¶
Unfinished incoming requests.
(token, remote): (Pipe, stopper)where stopper is a function unregisters 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 recognize_remote(message)¶
Return True if the remote of this message is currently expected to be usable with this transport.
- async determine_remote(message)¶
Return a remote if the transport expects to be able to deliver the request based on its URI components.
- request(request)¶