public class WanPipeAddress extends java.lang.Object implements Address
| Constructor and Description |
|---|
WanPipeAddress() |
WanPipeAddress(java.lang.String logical_name) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public WanPipeAddress()
public WanPipeAddress(java.lang.String logical_name)
public boolean isMulticastAddress()
AddressisMulticastAddress in interface Addresspublic int size()
Addresspublic 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.Objectpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic static void main(java.lang.String[] args)
public void writeTo(java.io.DataOutputStream outstream)
throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOExceptionpublic void readFrom(java.io.DataInputStream instream)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
StreamablereadFrom in interface Streamablejava.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionCopyright ? 1998-2006 Bela Ban. All Rights Reserved.