Hierarchy

Implements

Constructors

Properties

#private: any
attemptDial: any
configuredPubSubTopics: any
currentActiveDialCount: any
dialAttemptsForPeer: any
dialErrorsForPeer: any
dialPeer: any
dialPeerStorePeers: any
dropConnection: any
getPeerShardInfo: any
getTagNamesForPeer: any

Fetches the tag names for a given peer

isPeerTopicConfigured: any
keepAliveManager: any
libp2p: any
onEventHandlers: any
options: any
pendingPeerDialQueue: any
processDialQueue: 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

  • Type Parameters

    Parameters

    • type: K
    • listener: null | EventHandler<IPeersByDiscoveryEvents[K]>
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • event: Event

    Returns boolean

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    Parameters

    • type: K
    • Optional listener: null | EventHandler<IPeersByDiscoveryEvents[K]>
    • Optional options: boolean | EventListenerOptions

    Returns void

  • Type Parameters

    • Detail

    Parameters

    Returns boolean

  • Returns void

Generated using TypeDoc