public class TransferActions extends ServerActions
Modifier and Type | Field and Description |
---|---|
static String |
RANK_SET |
static String |
RUNNER_BEFORE_ANY_ACTION |
globalDigest, localChannelReference, localDigest, session
Constructor and Description |
---|
TransferActions() |
Modifier and Type | Method and Description |
---|---|
void |
data(DataPacket packet)
Receive a data block
|
void |
endRequest(EndRequestPacket packet)
Receive an End of Request
|
void |
endTransfer(EndTransferPacket packet)
Receive an End of Transfer
|
void |
request(RequestPacket packet)
Receive a request of Transfer
|
void |
requestChangeFileInfo(String newFileInfo)
If newFileInfo is provided and different than current value
|
void |
requestChangeNameSize(String newfilename,
long newSize)
Change the filename and the filesize
|
void |
saveAfterChangingFileInfo()
Update if necessary after Filename or size changed
|
bandwidth, blockRequest, blockRequest, businessRequest, businessRequest, cancelTransfer, configExport, configImport, information, informationFile, informationRequest, isCodeValid, jsonCommand, logPurge, requestRestart, shutdown, shutdown, staticConfigExport, stopOrCancel, stopTransfer, test, transferRequest, valid
allowReusableAuthentication, authent, channelClosed, connectionError, errorMesg, getLocalChannelReference, getSession, hasReusableAuthentication, newSession, setLocalChannelReference, startup, tryFinalizeRequest, validateAuthenticationReuse
public static final String RANK_SET
public static final String RUNNER_BEFORE_ANY_ACTION
public final void request(RequestPacket packet) throws OpenR66ProtocolPacketException, OpenR66RunnerErrorException, OpenR66ProtocolSystemException, OpenR66ProtocolBusinessException
packet
- OpenR66ProtocolPacketException
OpenR66ProtocolBusinessException
OpenR66ProtocolSystemException
OpenR66RunnerErrorException
public final void data(DataPacket packet) throws OpenR66ProtocolNotAuthenticatedException, OpenR66ProtocolBusinessException, OpenR66ProtocolPacketException
packet
- OpenR66ProtocolNotAuthenticatedException
OpenR66ProtocolBusinessException
OpenR66ProtocolPacketException
public final void endTransfer(EndTransferPacket packet) throws OpenR66ProtocolNotAuthenticatedException
packet
- OpenR66ProtocolNotAuthenticatedException
public final void endRequest(EndRequestPacket packet)
packet
- OpenR66RunnerErrorException
OpenR66ProtocolSystemException
OpenR66ProtocolNotAuthenticatedException
public final void saveAfterChangingFileInfo() throws OpenR66RunnerErrorException
OpenR66RunnerErrorException
public final void requestChangeFileInfo(String newFileInfo) throws OpenR66RunnerErrorException
newFileInfo
- OpenR66RunnerErrorException
public final void requestChangeNameSize(String newfilename, long newSize) throws OpenR66RunnerErrorException
newfilename
- newSize
- OpenR66RunnerErrorException
Copyright © 2009–2022 Waarp. All rights reserved.