openlsd.multiple.ophandler.extension
Class LSDPoolClientGet
java.lang.Object
openlsd.network.client.common.LSDClientCommon
openlsd.network.client.get.LSDClientGet
openlsd.multiple.ophandler.extension.LSDPoolClientGet
public class LSDPoolClientGet
- extends LSDClientGet
Class of a connection in Pool mode Get for proxy between put and get
- Author:
- Frederic BREGIER LGPL 2007
Fields inherited from class openlsd.network.client.common.LSDClientCommon |
clientCompressed, connector, executorChainService, hostname, idip, ls, lscsh, poolConnection, serverCompressed, serverPort, session |
Constructor Summary |
LSDPoolClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
LSDPoolConnection poolConnection)
|
LSDPoolClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean immediate,
LSDPoolConnection poolConnection)
|
Methods inherited from class openlsd.network.client.common.LSDClientCommon |
clear, clearObject, connect, connectionJoin, endClient, endClient, executorsClose, getObject, getStatus, initClient, initShared, isConnected, isSessionOK, lock, realClose, sessionReconnect, setObject, toString, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LSDPoolClientGet
public LSDPoolClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean immediate,
LSDPoolConnection poolConnection)
- Parameters:
lscshext
- Hostname
- ServerPort
- immediate
- poolConnection
-
LSDPoolClientGet
public LSDPoolClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
LSDPoolConnection poolConnection)
- Parameters:
lscshext
- Hostname
- ServerPort
- ServerCompressed
- ClientCompressed
- immediate
- poolConnection
-
createSessionHandler
protected LSDClientCommonSessionHandler createSessionHandler()
- (non-Javadoc)
- Overrides:
createSessionHandler
in class LSDClientGet
- Returns:
- a new SessionHandler
- See Also:
LSDClientGet.createSessionHandler()
close
public void close()
- Will close the current session and finalize the Client.
Reconnection is still possible. (override to handle pool of connection)
- Overrides:
close
in class LSDClientCommon