Services
Static Method Summary
Static Public Methods | ||
public static |
isFullNode(services: number): boolean |
|
public static |
isLightNode(services: number): boolean |
|
public static |
isNanoNode(services: number): boolean |
Constructor Summary
Public Constructor | ||
public |
constructor(provided: number, accepted: number) |
Member Summary
Public Members | ||
public get |
accepted: number |
|
public set |
accepted(services: number) |
|
public get |
provided: number |
|
public set |
provided(services: number) |
Static Public Methods
public static isFullNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
public static isLightNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
public static isNanoNode(services: number): boolean source
Params:
Name | Type | Attribute | Description |
services | number | Bitmap of the services to check |
Return:
boolean |
Public Constructors
public constructor(provided: number, accepted: number) source
Params:
Name | Type | Attribute | Description |
provided | number |
|
Bitmap of services that can be provided by this node |
accepted | number |
|
Bitmap of services that can be accepted by this node |