Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Node

Details of the network node.

Properties

Optional avgPacketLossPercent

avgPacketLossPercent: undefined | number

Percentage of the average packet loss. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional avgPacketResponseTimeInMs

avgPacketResponseTimeInMs: undefined | number

Average packet response time in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional consecutiveAnonymousCount

consecutiveAnonymousCount: undefined | number

Number of consecutive anonymous network nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional displayName

displayName: undefined | string

Display name of the network node.

Optional geoInfo

geoInfo: undefined | string

Geographical information of the network node.

id

id: string

ID of the network node.

Optional ipAddress

ipAddress: undefined | string

IP address of the network node.

Optional level

level: undefined | number

Level of the network node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional outgoingLinks

outgoingLinks: Array<string>

Outgoing links from the network node.

Optional type

type: Type

Type of network node.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Node): object

getJsonObj

  • getJsonObj(obj: Node): object