Used to initialise a Node by connecting to the CNS. This approach is now deprecated. To initialise a Node now:
NodeAddress localAddress = ...;
NodeAddress nodeServerAddr = ...;
Node.getInstance().init(localAddress);
CNS.init(nodeServerAddr);
BNS.init(nodeServerAddr);
Modifiers | Name | Description |
---|---|---|
protected NodeAddress |
cnsAddress |
The NodeAddress where the CNS / BNS is located |
The NodeAddress where the CNS / BNS is located
Initialises a Node
node
- The Node to initialise