org.apache.mina.transport.vmpipe
Class VmPipeAddress
java.lang.Object
java.net.SocketAddress
org.apache.mina.transport.vmpipe.VmPipeAddress
- All Implemented Interfaces:
- Serializable, Comparable<VmPipeAddress>
public class VmPipeAddress
- extends SocketAddress
- implements Comparable<VmPipeAddress>
A SocketAddress
which represents in-VM pipe port number.
- Version:
- $Rev: 576217 $, $Date: 2007-09-17 01:55:27 +0200 (lun, 17 sep 2007) $
- Author:
- The Apache MINA Project (dev@mina.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(VmPipeAddress o)
- Specified by:
compareTo
in interface Comparable<VmPipeAddress>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.