|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopenlsd.network.client.common.LSDClientCommon
openlsd.network.client.put.LSDClientPut
openlsd.multiple.ophandler.extension.LSDPoolClientPut
public class LSDPoolClientPut
Class of a connection in Pool mode Put
Field Summary | |
---|---|
boolean |
isForward
Is in Forward mode (Get->Put) |
Fields inherited from class openlsd.network.client.put.LSDClientPut |
---|
md5, size |
Fields inherited from class openlsd.network.client.common.LSDClientCommon |
---|
clientCompressed, connector, executorChainService, hostname, idip, ls, lscsh, poolConnection, serverCompressed, serverPort, session |
Constructor Summary | |
---|---|
LSDPoolClientPut(LSDClientPutSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
LSDPoolConnection poolConnection)
|
|
LSDPoolClientPut(LSDClientPutSessionHandler lscshext,
java.lang.String Hostname,
int ServerPort,
boolean immediate,
LSDPoolConnection poolConnection)
|
|
LSDPoolClientPut(java.lang.String Hostname,
int ServerPort,
boolean ServerCompressed,
boolean ClientCompressed,
boolean immediate,
LSDPoolConnection poolConnection)
|
|
LSDPoolClientPut(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()
Create a SessionHandler. |
int |
finalizeForward()
Ask to finalize to put one file identified by the triple legacy, storage and document. |
int |
prepareForward(boolean unique,
long legacy,
long storage,
long document)
Ask to prepare to put one file identified by the triple legacy, storage and document. |
int |
prepareNoAckForward(boolean unique,
long legacy,
long storage,
long document)
Ask to prepare to put one file identified by the triple legacy, storage and document. |
boolean |
writeForward(byte[] bytes)
WriteForward of one block from a sequence such as Get->Forward. |
Methods inherited from class openlsd.network.client.put.LSDClientPut |
---|
putDataFromObject, putFile, putNoAckDataFromObject |
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 |
Field Detail |
---|
public boolean isForward
Constructor Detail |
---|
public LSDPoolClientPut(LSDClientPutSessionHandler lscshext, java.lang.String Hostname, int ServerPort, boolean immediate, LSDPoolConnection poolConnection)
lscshext
- Hostname
- ServerPort
- immediate
- poolConnection
- public LSDPoolClientPut(java.lang.String Hostname, int ServerPort, boolean immediate, LSDPoolConnection poolConnection)
Hostname
- ServerPort
- immediate
- poolConnection
- public LSDPoolClientPut(LSDClientPutSessionHandler lscshext, java.lang.String Hostname, int ServerPort, boolean ServerCompressed, boolean ClientCompressed, boolean immediate, LSDPoolConnection poolConnection)
lscshext
- Hostname
- ServerPort
- ServerCompressed
- ClientCompressed
- immediate
- poolConnection
- public LSDPoolClientPut(java.lang.String Hostname, int ServerPort, boolean ServerCompressed, boolean ClientCompressed, boolean immediate, LSDPoolConnection poolConnection)
Hostname
- ServerPort
- ServerCompressed
- ClientCompressed
- immediate
- poolConnection
- Method Detail |
---|
protected LSDClientCommonSessionHandler createSessionHandler()
createSessionHandler
in class LSDClientPut
public void close()
close
in class LSDClientCommon
public int prepareForward(boolean unique, long legacy, long storage, long document)
unique
- legacy
- storage
- document
-
public int prepareNoAckForward(boolean unique, long legacy, long storage, long document)
unique
- legacy
- storage
- document
-
public int finalizeForward()
public boolean writeForward(byte[] bytes)
bytes
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |