org.apache.mina.protocol.vmpipe
Class VmPipeAddress

java.lang.Object
  extended by java.net.SocketAddress
      extended by org.apache.mina.protocol.vmpipe.VmPipeAddress
All Implemented Interfaces:
Serializable, Comparable

public class VmPipeAddress
extends SocketAddress
implements Comparable

A SocketAddress which represents in-VM pipe port number.

Version:
$Rev: 210062 $, $Date: 2005-07-11 12:52:38 +0900 $
Author:
Trustin Lee (trustin@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()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2005 . All Rights Reserved.