This is the service object used to register and resolve barrier names with a Barrier Name Server. This provides a client front end.
Constructor and description |
---|
BNSService
(NodeID bnsNode) Creates a new BNSService |
Type | Name and description |
---|---|
boolean |
register(String name, NetBarrier bar) Registers a Server end of a NetBarrier with the BNS |
NetBarrierLocation |
resolve(String name) Resolves a name on the BNS, retrieving the NetBarrierLocation for the NetBarrier |
Creates a new BNSService
bnsNode
- The Node that the BNS is onRegisters a Server end of a NetBarrier with the BNS
name
- Name to register with BNSbar
- Barrier to registerResolves a name on the BNS, retrieving the NetBarrierLocation for the NetBarrier
name
- The name to resolve from the BNSJCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk