public final class NetConnectionLocation extends NetLocation implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private NodeID |
nodeID
The NodeID portion of the location
|
private static long |
serialVersionUID
The SUID representing this class
|
private int |
vconnn
The vconnn portion of the location
|
| Constructor and Description |
|---|
NetConnectionLocation(NodeID aNodeID,
int aVConnN)
Creates a new NetConnectionLocation
|
| Modifier and Type | Method and Description |
|---|---|
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(java.lang.String str)
Converts the string form of a NetConnectionLocation back into its object form
|
java.lang.String |
toString()
Converts the NetConnectionLocation object into a string representation of the form nconnl://[NodeID]/[VConnN]
|
private static final long serialVersionUID
private final NodeID nodeID
private final int vconnn
public NetConnectionLocation(NodeID aNodeID, int aVConnN)
aNodeID - The NodeID part of the locationaVConnN - The vconnn part of the locationpublic NodeID getNodeID()
getNodeID in class NetLocationpublic NodeAddress getNodeAddress()
getNodeAddress in class NetLocationpublic int getVConnN()
public java.lang.String toString()
toString in class java.lang.Objectpublic static NetConnectionLocation parse(java.lang.String str)
str - The string representation of a NetConnectionLocation