|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.remoting.transport.socket.ServerAddress
public class 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 | |
|---|---|
java.lang.String |
address
Address of host ot connect to |
boolean |
enableTcpNoDelay
If the TcpNoDelay option should be used on the socket. |
int |
maxPoolSize
Maximum size of connection pool |
int |
port
Port the service is listening on |
int |
timeout
Timeout of setSoTimeout |
| Constructor Summary | |
|---|---|
ServerAddress(java.lang.String address,
int port,
boolean enableTcpNoDelay,
int timeout,
int maxPoolSize)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String address
public int port
public boolean enableTcpNoDelay
public int timeout
public int maxPoolSize
| Constructor Detail |
|---|
public ServerAddress(java.lang.String address,
int port,
boolean enableTcpNoDelay,
int timeout,
int maxPoolSize)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||