|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcsp.net2.NetLocation
org.jcsp.net2.NetConnectionLocation
public final class NetConnectionLocation
Constructor Summary | |
---|---|
NetConnectionLocation(NodeID aNodeID,
int aVConnN)
Creates a new NetConnectionLocation |
Method Summary | |
---|---|
NodeAddress |
getNodeAddress()
Gets the NodeAddress part of the location |
NodeID |
getNodeID()
Gets the NodeID part of the location |
int |
getVConnN()
Gets the vconnn part of the location |
static NetConnectionLocation |
parse(String str)
Converts the string form of a NetConnectionLocation back into its object form |
String |
toString()
Converts the NetConnectionLocation object into a string representation of the form nconnl://[NodeID]/[VConnN] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetConnectionLocation(NodeID aNodeID, int aVConnN)
aNodeID
- The NodeID part of the locationaVConnN
- The vconnn part of the locationMethod Detail |
---|
public NodeID getNodeID()
getNodeID
in class NetLocation
public NodeAddress getNodeAddress()
getNodeAddress
in class NetLocation
public int getVConnN()
public String toString()
toString
in class Object
public static NetConnectionLocation parse(String str)
str
- The string representation of a NetConnectionLocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |