Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Link

Details of the link between two nodes.

Properties

Optional delayInMilliseconds

delayInMilliseconds: undefined | number

Difference of the packet response time between source and destination nodes, in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional destination

destination: undefined | string

ID of the destination node.

Optional forwardingLoss

forwardingLoss: undefined | number

Average packet loss. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

id

id: string

ID of the link.

Optional maxDelayInMilliseconds

maxDelayInMilliseconds: undefined | number

Maximum delay in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional minDelayInMilliseconds

minDelayInMilliseconds: undefined | number

Minimum delay in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional paths

paths: Array<string>

List of all path IDs of which this link is part of.

Optional repeatCount

repeatCount: undefined | number

Number of times the link is repeated. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional source

source: undefined | string

ID of the source node.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Link): object

getJsonObj

  • getJsonObj(obj: Link): object