Class ConnectionManager

Hierarchy

  • ConnectionManager

Constructors

Properties

dialAttemptsForPeer: any
dialErrorsForPeer: any
dialPeer: any
getTagNamesForPeer: any

Fetches the tag names for a given peer

keepAliveManager: any
libp2pComponents: any
onEventHandlers: any
options: any
run: any
shouldDialPeer: any

Checks if the peer is dialable based on the following conditions:

  1. If the peer is a bootstrap peer, it is only dialable if the number of current bootstrap connections is less than the max allowed.
  2. If the peer is not a bootstrap peer
startPeerConnectionListener: any
startPeerDisconnectionListener: any
startPeerDiscoveryListener: any
instances: any

Methods

  • Returns void

Generated using TypeDoc