org.apache.mina.transport.vmpipe
Class VmPipeAddress

java.lang.Object
  extended byjava.net.SocketAddress
      extended byorg.apache.mina.transport.vmpipe.VmPipeAddress
All Implemented Interfaces:
Comparable, Serializable

public class VmPipeAddress
extends SocketAddress
implements Comparable

A SocketAddress which represents in-VM pipe port number.

Version:
$Rev: 436993 $, $Date: 2006-08-26 00:36:56 +0200 (Sat, 26 Aug 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)
See Also:
Serialized Form

Constructor Summary
VmPipeAddress(int port)
          Creates a new instance with the specifid port number.
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 int getPort()
          Returns the port number.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmPipeAddress

public VmPipeAddress(int port)
Creates a new instance with the specifid port number.

Method Detail

getPort

public int getPort()
Returns the port number.


hashCode

public int hashCode()

equals

public boolean equals(Object o)

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()