|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.transport.multiplex.utility.AddressPair
public class AddressPair
AddressPair
is a utility class that represents a pair of socket addresses,
each with a host and port.
Copyright (c) 2005
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 |
---|
public AddressPair(java.lang.String remoteHost, int remotePort, java.lang.String localHost, int localPort) throws java.io.IOException
AddressPair
.
remoteHost
- remotePort
- localHost
- localPort
-
java.io.IOException
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getLocalHost()
public int getLocalPort()
public java.lang.String getRemoteHost()
public int getRemotePort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |