public final class NetConnectionLocation extends NetLocation implements 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(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]
|
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 String toString()
public static NetConnectionLocation parse(String str)
str - The string representation of a NetConnectionLocationCopyright © 1996–2015. All rights reserved.