public class GIDAddress extends Size4 implements Address, java.io.Serializable
Constructor and Description |
---|
GIDAddress(byte[] addr)
Create a GIDAddress from a byte[]
|
GIDAddress(int addr)
Create a GIDAddress from an int
|
GIDAddress(java.lang.String gidStr)
Create a GIDAddress from a String
|
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
asInetAddress()
Get GIDAddress as an InetAddress
|
int |
asInteger()
Get GIDAddress as an Integer.
|
java.lang.String |
asTransmitForm()
Address in transmittable form
|
int |
compareTo(java.lang.Object other)
Compare this Address to another one
|
boolean |
equals(java.lang.Object obj)
Equals
|
java.lang.String |
toString()
To String
|
asByteArray, hashCode, size
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asByteArray, size
public GIDAddress(java.lang.String gidStr) throws java.net.UnknownHostException
java.net.UnknownHostException
public GIDAddress(int addr)
public GIDAddress(byte[] addr) throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
public int asInteger()
public java.net.InetAddress asInetAddress()
asInetAddress
in interface Address
public java.lang.String asTransmitForm()
asTransmitForm
in interface Address
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
User Space Routing 0.10.3