public final class NetConnectionLocation extends NetLocation implements java.io.Serializable
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]
|
public NetConnectionLocation(NodeID aNodeID, int aVConnN)
aNodeID
- The NodeID part of the locationaVConnN
- The vconnn part of the locationpublic NodeID getNodeID()
getNodeID
in class NetLocation
public NodeAddress getNodeAddress()
getNodeAddress
in class NetLocation
public int getVConnN()
public java.lang.String toString()
toString
in class java.lang.Object
public static NetConnectionLocation parse(java.lang.String str)
str
- The string representation of a NetConnectionLocationCopyright © 1996–2020. All rights reserved.