org.jboss.remoting.transport.multiplex
Class AddressPair

java.lang.Object
  extended byorg.jboss.remoting.transport.multiplex.AddressPair

public class AddressPair
extends java.lang.Object

A AddressPair.

Version:
$Revision: 1.3 $

Copyright (c) 2005

Author:
Ron Sigal

Constructor Summary
AddressPair(java.lang.String remoteHost, int remotePort, java.lang.String localHost, int localPort)
          Create a new AddressPair.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getLocalHost()
          Get the localHost.
 int getLocalPort()
          Get the localPort.
 java.lang.String getRemoteHost()
          Get the remoteHost.
 int getRemotePort()
          Get the remotePort.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressPair

public AddressPair(java.lang.String remoteHost,
                   int remotePort,
                   java.lang.String localHost,
                   int localPort)
            throws java.io.IOException
Create a new AddressPair.

Parameters:
remoteHost -
remotePort -
localHost -
localPort -
Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getLocalHost

public java.lang.String getLocalHost()
Get the localHost.

Returns:
the localHost.

getLocalPort

public int getLocalPort()
Get the localPort.

Returns:
the localPort.

getRemoteHost

public java.lang.String getRemoteHost()
Get the remoteHost.

Returns:
the remoteHost.

getRemotePort

public int getRemotePort()
Get the remotePort.

Returns:
the remotePort.


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.