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
- aiocoap.transports.rfc8323common module
CloseConnection
RFC8323Remote
RFC8323Remote.is_multicast
RFC8323Remote.is_multicast_locally
RFC8323Remote.hostinfo
RFC8323Remote.hostinfo_local
RFC8323Remote.uri_base
RFC8323Remote.uri_base_local
RFC8323Remote.maximum_block_size_exp
RFC8323Remote.maximum_payload_size
RFC8323Remote.blockwise_key
RFC8323Remote.abort()
RFC8323Remote.release()
- aiocoap.transports.simple6 module
- aiocoap.transports.simplesocketserver module
- aiocoap.transports.tcp module
- aiocoap.transports.tinydtls module
CloseNotifyReceived
FatalDTLSError
DTLSClientConnection
DTLSClientConnection.is_multicast
DTLSClientConnection.is_multicast_locally
DTLSClientConnection.uri_base
DTLSClientConnection.uri_base_local
DTLSClientConnection.scheme
DTLSClientConnection.hostinfo_local
DTLSClientConnection.blockwise_key
DTLSClientConnection.hostinfo
DTLSClientConnection.send()
DTLSClientConnection.log
DTLSClientConnection.shutdown()
DTLSClientConnection.SingleConnection
DTLSClientConnection.SingleConnection.factory()
DTLSClientConnection.SingleConnection.parent
DTLSClientConnection.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
InterfaceOnlyPktinfo
UDP6EndpointAddress
UDP6EndpointAddress.scheme
UDP6EndpointAddress.interface
UDP6EndpointAddress.netif
UDP6EndpointAddress.hostinfo
UDP6EndpointAddress.hostinfo_local
UDP6EndpointAddress.uri_base
UDP6EndpointAddress.uri_base_local
UDP6EndpointAddress.is_multicast
UDP6EndpointAddress.is_multicast_locally
UDP6EndpointAddress.as_response_address()
UDP6EndpointAddress.blockwise_key
SockExtendedErr
MessageInterfaceUDP6
MessageInterfaceUDP6.ready
MessageInterfaceUDP6.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