|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kth.dks.dks_comm.DKSRef
public class DKSRef
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object b)
|
DKSNetAddress |
getDKSNetAddress()
|
java.lang.String |
getDKSURL()
Returns the DKS URL representing this DKSRef with the following format: dks://[IP]:[PORT]/[GROUP_ID]/[NODE_ID]/[UNIQUE_GUID]) IP can be either an IP number of a hostname, PORT must be an integer (<=65535) describing the port number of the DKS, GROUP_ID must be a number describing the unique DKS ring/group identifier, NODE_ID must be a number describing the node logical identifier, UNIQUE_GUID must be a number describing the node unique identifier (only for identification). |
java.lang.String |
getDKSWebURL()
Returns the DKS WEB server URL representing this DKSRef with the following format: dks://[IP]:[PORT+1]/[GROUP_ID]/[NODE_ID]/[UNIQUE_GUID]) IP can be either an IP number of a hostname, PORT must be an integer (<=65535) describing the port number of the DKS, GROUP_ID must be a number describing the unique DKS ring/group identifier, NODE_ID must be a number describing the node logical identifier, UNIQUE_GUID must be a number describing the node unique identifier (only for identification). |
long |
getGUID()
|
long |
getID()
|
java.lang.String |
getIP()
|
long |
getNonce()
|
DKSOverlayAddress |
getOverlayAddress()
|
int |
getPort()
|
long |
getR_GUID()
|
int |
hashCode()
|
static DKSRef |
newDKSRef(java.lang.String dksURL)
Constructs a DKSRef from a DKS URL string having the following format: dksref://[IP]:[PORT]/[GROUP_ID]/[NODE_ID]/[UNIQUE_GUID]) IP can be either an IP number of a hostname, PORT must be an integer (<=65535) describing the port number of the DKS, GROUP_ID must be a number describing the unique DKS ring/group identifier, NODE_ID must be a number describing the node logical identifier, UNIQUE_GUID must be a number describing the node unique identifier (only for identification). |
static DKSRef |
newDKSRefByParts(DKSOverlayAddress oa,
DKSNetAddress na)
Creates a DKSRef with references to a DKSOverlayAddress and a DKSNetAddress. |
java.lang.String |
toString()
|
static DKSRef |
valueOf(java.lang.String dksREF)
Constructs a DKSRef from a DKS URL string having the following format: dks://[IP]:[PORT]/[GROUP_ID]/[NODE_ID]/[UNIQUE_GUID]/[NONCE]) IP can be either an IP number of a hostname, PORT must be an integer (<=65535) describing the port number of the DKS, GROUP_ID must be a number describing the unique DKS ring/group identifier, NODE_ID must be a number describing the node logical identifier, UNIQUE_GUID must be a number describing the node unique identifier (only for identification). |
static DKSRef |
valueOfByParts(DKSOverlayAddress oa,
DKSNetAddress na,
long nonce)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static DKSRef newDKSRef(java.lang.String dksURL)
throws java.net.MalformedURLException
dksURL - String with the above described format
java.net.MalformedURLException - if the string does not match the above description
public static DKSRef valueOf(java.lang.String dksREF)
throws java.net.MalformedURLException
dksURL - String with the above described format
java.net.MalformedURLException - if the string does not match the above description
public static DKSRef newDKSRefByParts(DKSOverlayAddress oa,
DKSNetAddress na)
oa - DKSOverlayAddressna - DKSNetAddress
public static DKSRef valueOfByParts(DKSOverlayAddress oa,
DKSNetAddress na,
long nonce)
public java.lang.String getDKSURL()
public java.lang.String getDKSWebURL()
public long getNonce()
public int getPort()
public java.lang.String getIP()
public long getID()
public long getGUID()
public long getR_GUID()
public DKSOverlayAddress getOverlayAddress()
public DKSNetAddress getDKSNetAddress()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object b)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||