Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Bootstrap/ping.basic"

Index

Variables

interval

interval: number = 2000

kick

kick: number = 10

threshold

threshold: number = 2000

Functions

_basicPingBootstrap

  • _basicPingBootstrap(xyz: INodeXYZ, event: any, port: any): void
  • Will setup a basic ping mechanism for the node. This will automatically bootstrap unless selfConf.defaultBootstrap is set to false

    method

    _basicPingBootstrap

    Parameters

    • xyz: INodeXYZ

      the automatically injected paramter referring to the current xyz instance.

    • event: any

      indicates if pingRate message listener should be creted or not.

    • port: any

      the port to identify the route and server to use

    Returns void

Generated using TypeDoc