Package 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>
ASocketAddress
which represents in-VM pipe port number.- Author:
- Apache MINA Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VmPipeAddress(int port)
Creates a new instance with the specifid port number.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VmPipeAddress o)
boolean
equals(Object o)
int
getPort()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getPort
public int getPort()
- Returns:
- the port number.
-
compareTo
public int compareTo(VmPipeAddress o)
- Specified by:
compareTo
in interfaceComparable<VmPipeAddress>
-
-