aiocoap.transports module¶
Container module for transports
Transports are expected to be the modular backends of aiocoap, and implement the specifics of eg. TCP, WebSockets or SMS, possibly divided by backend implementations as well.
Transports are not part of the API, so the class descriptions in the modules are purely informational.
Multiple transports can be used in parallel in a single Context, and
are loaded in a particular sequence. Some transports will grab all addresses of
a given protocol, so they might not be practical to combine. Which transports
are started in a given Context follows the
defaults.get_default_clienttransports() function.
The available transports are:
- aiocoap.transports.generic_udp module
- aiocoap.transports.oscore module
OSCOREAddressOSCOREAddress.hostinfoOSCOREAddress.hostinfo_localOSCOREAddress.uri_baseOSCOREAddress.uri_base_localOSCOREAddress.schemeOSCOREAddress.authenticated_claimsOSCOREAddress.is_multicastOSCOREAddress.is_multicast_locallyOSCOREAddress.maximum_payload_sizeOSCOREAddress.maximum_block_size_expOSCOREAddress.blockwise_key
TransportOSCORE
- aiocoap.transports.rfc8323common module
CloseConnectionRFC8323RemoteRFC8323Remote.is_multicastRFC8323Remote.is_multicast_locallyRFC8323Remote.hostinfoRFC8323Remote.hostinfo_localRFC8323Remote.uri_baseRFC8323Remote.uri_base_localRFC8323Remote.maximum_block_size_expRFC8323Remote.maximum_payload_sizeRFC8323Remote.blockwise_keyRFC8323Remote.abort()RFC8323Remote.release()
- aiocoap.transports.simple6 module
- aiocoap.transports.simplesocketserver module
- aiocoap.transports.tcp module
- aiocoap.transports.tinydtls module
CloseNotifyReceivedFatalDTLSErrorDTLSClientConnectionDTLSClientConnection.is_multicastDTLSClientConnection.is_multicast_locallyDTLSClientConnection.uri_baseDTLSClientConnection.uri_base_localDTLSClientConnection.schemeDTLSClientConnection.hostinfo_localDTLSClientConnection.blockwise_keyDTLSClientConnection.hostinfoDTLSClientConnection.send()DTLSClientConnection.logDTLSClientConnection.shutdown()DTLSClientConnection.SingleConnectionDTLSClientConnection.SingleConnection.factory()DTLSClientConnection.SingleConnection.parentDTLSClientConnection.SingleConnection.connection_made()DTLSClientConnection.SingleConnection.connection_lost()DTLSClientConnection.SingleConnection.error_received()DTLSClientConnection.SingleConnection.datagram_received()
MessageInterfaceTinyDTLS
- aiocoap.transports.tinydtls_server module
- aiocoap.transports.tls module
- aiocoap.transports.udp6 module
InterfaceOnlyPktinfoUDP6EndpointAddressUDP6EndpointAddress.schemeUDP6EndpointAddress.interfaceUDP6EndpointAddress.maximum_block_size_expUDP6EndpointAddress.netifUDP6EndpointAddress.hostinfoUDP6EndpointAddress.hostinfo_localUDP6EndpointAddress.uri_baseUDP6EndpointAddress.uri_base_localUDP6EndpointAddress.is_multicastUDP6EndpointAddress.is_multicast_locallyUDP6EndpointAddress.as_response_address()UDP6EndpointAddress.blockwise_key
SockExtendedErrMessageInterfaceUDP6MessageInterfaceUDP6.readyMessageInterfaceUDP6.create_client_transport_endpoint()MessageInterfaceUDP6.create_server_transport_endpoint()MessageInterfaceUDP6.shutdown()MessageInterfaceUDP6.send()MessageInterfaceUDP6.recognize_remote()MessageInterfaceUDP6.determine_remote()MessageInterfaceUDP6.connection_made()MessageInterfaceUDP6.datagram_msg_received()MessageInterfaceUDP6.datagram_errqueue_received()MessageInterfaceUDP6.error_received()MessageInterfaceUDP6.connection_lost()
- aiocoap.transports.ws module