public class TransferActions extends ServerActions
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
|
bandwidth, blockRequest, blockRequest, businessRequest, businessRequest, cancelTransfer, configExport, configImport, information, informationFile, informationRequest, isCodeValid, jsonCommand, logPurge, requestRestart, shutdown, shutdown, staticConfigExport, stopOrCancel, stopTransfer, test, transferRequest, valid
authent, channelClosed, connectionError, errorMesg, getLocalChannelReference, getSession, newSession, setLocalChannelReference, startup, tryFinalizeRequest
public void request(RequestPacket packet) throws OpenR66ProtocolNoDataException, OpenR66ProtocolPacketException, OpenR66RunnerErrorException, OpenR66ProtocolSystemException, OpenR66ProtocolBusinessException
public void data(DataPacket packet) throws OpenR66ProtocolNotAuthenticatedException, OpenR66ProtocolBusinessException, OpenR66ProtocolPacketException
packet
- OpenR66ProtocolNotAuthenticatedException
OpenR66ProtocolBusinessException
OpenR66ProtocolPacketException
public void endTransfer(EndTransferPacket packet) throws OpenR66RunnerErrorException, OpenR66ProtocolSystemException, OpenR66ProtocolNotAuthenticatedException
packet
- OpenR66RunnerErrorException
OpenR66ProtocolSystemException
OpenR66ProtocolNotAuthenticatedException
public void endRequest(EndRequestPacket packet)
packet
- OpenR66RunnerErrorException
OpenR66ProtocolSystemException
OpenR66ProtocolNotAuthenticatedException
public void requestChangeFileInfo(String newFileInfo) throws OpenR66RunnerErrorException
newFileInfo
- OpenR66RunnerErrorException
public void requestChangeNameSize(String newfilename, long newSize) throws OpenR66RunnerErrorException
newfilename
- newSize
- OpenR66RunnerErrorException
Copyright © 2009–2020 Waarp. All rights reserved.