|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.protocols.WanPipeAddress
Logical address for a WAN pipe (logical link)
Constructor Summary | |
WanPipeAddress()
|
|
WanPipeAddress(java.lang.String logical_name)
|
Method Summary | |
int |
compareTo(java.lang.Object other)
Establishes an order between 2 addresses. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
isMulticastAddress()
Checks whether this is an address that represents multiple destinations; e.g., a class D address in the Internet. |
static void |
main(java.lang.String[] args)
|
void |
readExternal(java.io.ObjectInput in)
|
void |
readFrom(java.io.DataInputStream instream)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed |
int |
size()
Returns serialized size of this address |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
void |
writeTo(java.io.DataOutputStream outstream)
Write the entire state of the current object (including superclasses) to outstream. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WanPipeAddress()
public WanPipeAddress(java.lang.String logical_name)
Method Detail |
public boolean isMulticastAddress()
Address
isMulticastAddress
in interface Address
public int size()
Address
size
in interface Address
public int compareTo(java.lang.Object other) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public static void main(java.lang.String[] args)
public void writeTo(java.io.DataOutputStream outstream) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public void readFrom(java.io.DataInputStream instream) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException
Streamable
readFrom
in interface Streamable
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |