| |
|
| java.lang.Object org.apache.harmony.rmi.client.ClientConnectionManager
ClientConnectionManager | final public class ClientConnectionManager (Code) | | Manager managing connections from the client side: it holds the list of
opened connections so the client could reuse them.
author: Mikhail A. Markov version: $Revision: 1.1.2.2 $ |
Field Summary | |
public static long | connTimeout Period during which the connection could be reused
(and after which it's closed). | final public static RMILog | tcpTransportLog Log for logging tcp connections activity. |
connTimeout | public static long connTimeout(Code) | | Period during which the connection could be reused
(and after which it's closed).
Default value is 15000 ms.
|
tcpTransportLog | final public static RMILog tcpTransportLog(Code) | | Log for logging tcp connections activity.
|
getConnection | public static ClientConnection getConnection(Endpoint ep) throws RemoteException(Code) | | Returns 1-st available connection. If there is no available connections
a new one is created.
Parameters: ep - Endpoint to connect to opened connection throws: RemoteException - if any error occurred while obtaining connection |
removeConnection | public static void removeConnection(ClientConnection conn)(Code) | | Removes connection from the list of connections.
Parameters: conn - connection to be removed |
|
|
|