|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.protocols.WanPipeAddress
public class 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 Addresspublic int size()
Address
size in interface Address
public int compareTo(java.lang.Object other)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparablejava.lang.ClassCastExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic static void main(java.lang.String[] args)
public void writeTo(java.io.DataOutputStream outstream)
throws java.io.IOException
Streamable
writeTo in interface Streamablejava.io.IOException
public void readFrom(java.io.DataInputStream instream)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
Streamable
readFrom in interface Streamablejava.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||