|
||||||||||
| 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 location| Method Detail |
|---|
public NodeID getNodeID()
getNodeID in class NetLocationpublic NodeAddress getNodeAddress()
getNodeAddress in class NetLocationpublic int getVConnN()
public String toString()
toString in class Objectpublic 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 | |||||||||