RNS::AutoInterfacePeer
Inherits RNS::Interface < Reference < Object
AutoInterfacePeer represents a single discovered peer. Each peer communicates via unicast UDP on the data port. Ports the AutoInterfacePeer class from RNS/Interfaces/AutoInterface.py.
Constructors
Instance methods
addr
Sourcedir_in
Sourcedir_out
Sourceifname
Sourceowner
Sourceprocess_outgoing(data : Bytes)
Send data out through the interface. Subclasses must implement this.
teardown
Tear down the interface, releasing any resources (sockets, fibers, etc.). Subclasses should override to close their specific resources.