org.apache.mina.protocol.vmpipe
Class VmPipeAddress
java.lang.Object
java.net.SocketAddress
org.apache.mina.protocol.vmpipe.VmPipeAddress
- All Implemented Interfaces:
- Serializable, Comparable
public class VmPipeAddress
- extends SocketAddress
- implements Comparable
A SocketAddress
which represents in-VM pipe port number.
- Version:
- $Rev: 357871 $, $Date: 2005-12-20 10:56:40 +0900 (Tue, 20 Dec 2005) $
- Author:
- The Apache Directory Project (dev@directory.apache.org)
- See Also:
- Serialized Form
Constructor Summary |
VmPipeAddress(int port)
Creates a new instance with the specifid port number. |
VmPipeAddress
public VmPipeAddress(int port)
- Creates a new instance with the specifid port number.
getPort
public int getPort()
- Returns the port number.
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-2005 . All Rights Reserved.