Package | Description |
---|---|
org.jcsp.net2 | |
org.jcsp.net2.bns |
Modifier and Type | Field and Description |
---|---|
private NetBarrierLocation |
NetBarrier.localLocation
The local location of this NetBarrier
|
private NetBarrierLocation |
NetBarrier.remoteLocation
The location that this NetBarrier is connected to
|
Modifier and Type | Method and Description |
---|---|
(package private) NetBarrierLocation |
NetBarrier.getLocalLocation()
Gets the local location of the barrier
|
static NetBarrierLocation |
NetBarrierLocation.parse(java.lang.String str)
Takes the string representation of a NetBarrierLocation and converts it back into an object for usage by JCSP.
|
Modifier and Type | Method and Description |
---|---|
(package private) static NetBarrier |
NetBarrier.create(NetBarrierLocation loc,
int localEnroll)
Static factory method for creating a client end of a NetBarrier
|
static NetBarrier |
NetBarrierEnd.netBarrier(NetBarrierLocation loc,
int enrolled)
Creates a new client end of a NetBarrier
|
Constructor and Description |
---|
NetBarrier(BarrierData barData,
int numToEnroll,
int netNumToEnroll,
NetBarrierLocation serverLocation,
AltingChannelInput inToBar,
ChannelOutput toLink)
The constructor for a NetBarrier
|
Modifier and Type | Field and Description |
---|---|
(package private) NetBarrierLocation |
BNSMessage.location
The location of a resolves or registered barrier
|
Modifier and Type | Method and Description |
---|---|
NetBarrierLocation |
BNSService.resolve(java.lang.String name)
Resolves a name on the BNS, retrieving the NetBarrierLocation for the NetBarrier
|