org.apache.mina.util
Class AnonymousSocketAddress

java.lang.Object
  extended by java.net.SocketAddress
      extended by org.apache.mina.util.AnonymousSocketAddress
All Implemented Interfaces:
Serializable, Comparable

public class AnonymousSocketAddress
extends SocketAddress
implements Comparable

A SocketAddress which represents anonymous address.

Version:
$Rev: 439913 $, $Date: 2006-09-04 05:12:43 +0200 (Mon, 04 Sep 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)
See Also:
Serialized Form

Constructor Summary
AnonymousSocketAddress()
          Creates a new instance with the specifid port number.
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnonymousSocketAddress

public AnonymousSocketAddress()
Creates a new instance with the specifid port number.

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.