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()
Address
isMulticastAddress
in interface Address
public int size()
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)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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.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
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.