openlsd.appli.extension
Class LSDExtClientInfo

java.lang.Object
  extended by openlsd.network.client.common.LSDClientCommon
      extended by openlsd.network.client.info.LSDClientInfo
          extended by openlsd.appli.extension.LSDExtClientInfo

public class LSDExtClientInfo
extends LSDClientInfo

Class for taking into account DB for Info using LSDExtClientInfoSessionHandler

Author:
Frederic Bregier LGPL

Field Summary
 
Fields inherited from class openlsd.network.client.info.LSDClientInfo
md5, size
 
Fields inherited from class openlsd.network.client.common.LSDClientCommon
clientCompressed, connector, executorChainService, hostname, idip, ls, lscsh, poolConnection, serverCompressed, serverPort, session
 
Constructor Summary
LSDExtClientInfo(java.lang.String Hostname, int ServerPort, boolean ServerCompressed, boolean ClientCompressed, boolean immediate, boolean keepalived)
          Create a new ExtClientInfo using a specific Hostname and serverPort and the properties of compression for server and client part.
 
Method Summary
protected  LSDClientCommonSessionHandler createSessionHandler()
          Create a SessionHandler.
 
Methods inherited from class openlsd.network.client.info.LSDClientInfo
getAExist, getAExistMD5, getExist, getInPath, getList, getListMD5, getSessionInfo, getSize
 
Methods inherited from class openlsd.network.client.common.LSDClientCommon
clear, clearObject, close, 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

LSDExtClientInfo

public LSDExtClientInfo(java.lang.String Hostname,
                        int ServerPort,
                        boolean ServerCompressed,
                        boolean ClientCompressed,
                        boolean immediate,
                        boolean keepalived)
Create a new ExtClientInfo using a specific Hostname and serverPort and the properties of compression for server and client part. The client is immediately connected.

Parameters:
Hostname -
ServerPort -
ServerCompressed -
ClientCompressed -
immediate -
keepalived -
Method Detail

createSessionHandler

protected LSDClientCommonSessionHandler createSessionHandler()
Create a SessionHandler. This function has to be rewritten by classes that extends this one.

Overrides:
createSessionHandler in class LSDClientInfo
Returns:
a new SessionHandler