| java.lang.Object org.jboss.invocation.pooled.interfaces.ServerAddress
ServerAddress | public class ServerAddress implements Serializable(Code) | | 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.
author: Bill Burke author: Scott.Stark@jboss.org version: $Revision: 57209 $ |
Constructor Summary | |
public | ServerAddress(String address, int port, boolean enableTcpNoDelay, int timeout, SocketFactory clientSocketFactory) The server address/port representation. |
address | public String address(Code) | | Address of host to connect to
|
clientSocketFactory | public SocketFactory clientSocketFactory(Code) | | An option socket factory for connecting to the server
|
enableTcpNoDelay | public boolean enableTcpNoDelay(Code) | | If the TcpNoDelay option should be used on the socket.
|
port | public int port(Code) | | Port the service is listening on
|
timeout | public int timeout(Code) | | Timeout of setSoTimeout
|
ServerAddress | public ServerAddress(String address, int port, boolean enableTcpNoDelay, int timeout, SocketFactory clientSocketFactory)(Code) | | The server address/port representation.
Parameters: address - - hostname/ip of the server Parameters: port - - the invoker port Parameters: enableTcpNoDelay - - the Socket.setTcpNoDelay flag Parameters: timeout - - the Socket.setSoTimeout value Parameters: clientSocketFactory - - optional SocketFactory |
hashCode | public int hashCode()(Code) | | |
|
|