Create a new instance.
local, tcp and hyperswarm.Event for when a new peer is connected via this transport.
Subscribable that can be used to register listeners
Get if transport is started.
true if transport is started
Add a peer to this transport. This will start monitoring this peer for connection events and make it available/unavailable as it connects/disconnects.
Start this transport.
boolean indicating if the transport was started
Stop this transport.
boolean indicating if the transport was stopped.
Generated using TypeDoc
Abstract base for implementing transports. Implements common behavior to help with tracking of peers.