latest.ipv8.test.mocking.exit_socket
Module Contents
Classes
Mocked TunnelExitsocket that uses a mock endpoint. |
- class latest.ipv8.test.mocking.exit_socket.MockTunnelExitSocket(parent: latest.ipv8.messaging.anonymization.exit_socket.TunnelExitSocket)
Bases:
latest.ipv8.messaging.anonymization.exit_socket.TunnelExitSocket
,latest.ipv8.messaging.interfaces.endpoint.EndpointListener
Mocked TunnelExitsocket that uses a mock endpoint.
- sendto(data: bytes, destination: latest.ipv8.types.Address) None
Send data through to another mock endpoint’s address.