|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.invocation.pooled.interfaces.ServerAddress
This class encapsulates all the required information for a client to establish a connection with the server. It also attempts to provide a fast hash() function since this object is used as a key in a hashmap mainted by the ConnectionManager.
Field Summary | |
String |
address
Address of host ot connect to |
boolean |
enableTcpNoDelay
If the TcpNoDelay option should be used on the socket. |
int |
port
Port the service is listening on |
int |
timeout
Timeout of setSoTimeout |
Constructor Summary | |
ServerAddress(String address,
int port,
boolean enableTcpNoDelay,
int timeout)
|
Method Summary | |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public String address
public int port
public boolean enableTcpNoDelay
public int timeout
Constructor Detail |
public ServerAddress(String address, int port, boolean enableTcpNoDelay, int timeout)
Method Detail |
public String toString()
public boolean equals(Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |