openlsd.multiple.ophandler.extension
Class LSDPoolClientGet

java.lang.Object
  extended by openlsd.network.client.common.LSDClientCommon
      extended by openlsd.network.client.get.LSDClientGet
          extended by 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

Field Summary
 
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)
           
 
Method Summary
 void close()
          Will close the current session and finalize the Client.
protected  LSDClientCommonSessionHandler createSessionHandler()
          (non-Javadoc)
 
Methods inherited from class openlsd.network.client.get.LSDClientGet
getDataToObject, getNoAckDataToObject
 
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
 

Constructor Detail

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 -
Method Detail

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