public class VmPipeAddress
extends java.net.SocketAddress
implements java.lang.Comparable
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(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
int |
getPort()
Returns the port number.
|
int |
hashCode() |
java.lang.String |
toString() |
public VmPipeAddress(int port)
public int getPort()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.