public class VmPipeAddress extends SocketAddress implements Comparable<VmPipeAddress>
SocketAddress
which represents in-VM pipe port number.Constructor and Description |
---|
VmPipeAddress(int port)
Creates a new instance with the specifid port number.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VmPipeAddress o) |
boolean |
equals(Object o) |
int |
getPort() |
int |
hashCode() |
String |
toString() |
public VmPipeAddress(int port)
port
- the port to usepublic int getPort()
public int compareTo(VmPipeAddress o)
compareTo
in interface Comparable<VmPipeAddress>
Copyright © 2004–2018 Apache MINA Project. All rights reserved.