|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.network.client.common.LSDClientCommon openlsd.network.client.get.LSDClientGet
public class LSDClientGet
Class LSDClientGet is the class that defines function to offer service to client part for Get.
Field Summary |
---|
Fields inherited from class openlsd.network.client.common.LSDClientCommon |
---|
clientCompressed, connector, executorChainService, hostname, idip, ls, lscsh, poolConnection, serverCompressed, serverPort, session |
Constructor Summary | |
---|---|
LSDClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean immediate,
boolean keepalived)
Create a new ClientGet using a specific SessionHandler that extends the LSDClientGetSessionHandler class and a specific Hostname and serverPort. |
|
LSDClientGet(LSDClientGetSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
boolean keepalived)
Create a new ClientGet using a specific SessionHandler that extends the LSDClientGetSessionHandler class and a specific Hostname and serverPort and the properties of compression for server and client part. |
|
LSDClientGet(java.lang.String Hostname,
int ServerPort,
boolean immediate,
boolean keepalived)
Create a new ClientGet using a specific Hostname and serverPort. |
|
LSDClientGet(java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
boolean keepalived)
Create a new ClientGet using a specific Hostname and serverPort and the properties of compression for server and client part. |
Method Summary | |
---|---|
protected LSDClientCommonSessionHandler |
createSessionHandler()
Create a SessionHandler. |
int |
getDataToObject(boolean unique,
long legacy,
long storage,
long document,
java.lang.Object object)
Ask to get Data (file) identified by the triple legacy, storage and document, and put the result in the result object, which is by default an array of byte or another object controled by another object which implies an extend of LSDClientGetSessionHandler with a new version of messageGetBlock. |
int |
getNoAckDataToObject(boolean unique,
long legacy,
long storage,
long document,
java.lang.Object object)
Ask to get Data (file) identified by the triple legacy, storage and document, and put the result in the result object, which is by default an array of byte or another object controled by another object which implies an extend of LSDClientGetSessionHandler with a new version of messageGetBlock. |
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 |
---|
public LSDClientGet(LSDClientGetSessionHandler lscshext, java.lang.String Hostname, int ServerPort, boolean immediate, boolean keepalived)
lscshext
- Hostname
- ServerPort
- immediate
- keepalived
- public LSDClientGet(java.lang.String Hostname, int ServerPort, boolean immediate, boolean keepalived)
Hostname
- ServerPort
- immediate
- keepalived
- public LSDClientGet(LSDClientGetSessionHandler lscshext, java.lang.String Hostname, int ServerPort, boolean ServerCompressed, boolean ClientCompressed, boolean immediate, boolean keepalived)
lscshext
- Hostname
- ServerPort
- ServerCompressed
- ClientCompressed
- immediate
- keepalived
- public LSDClientGet(java.lang.String Hostname, int ServerPort, boolean ServerCompressed, boolean ClientCompressed, boolean immediate, boolean keepalived)
Hostname
- ServerPort
- ServerCompressed
- ClientCompressed
- immediate
- keepalived
- Method Detail |
---|
protected LSDClientCommonSessionHandler createSessionHandler()
createSessionHandler
in class LSDClientCommon
public int getDataToObject(boolean unique, long legacy, long storage, long document, java.lang.Object object)
unique
- legacy
- storage
- document
- object
- (by default, if null becomes an array of byte allocated with "new byte[0]")
public int getNoAckDataToObject(boolean unique, long legacy, long storage, long document, java.lang.Object object)
unique
- legacy
- storage
- document
- object
- (by default, if null becomes an array of byte allocated with "new byte[0]")
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |