Interface ECtransCallback
- All Known Implementing Classes:
DefaultCallback, MoverServer.ECproxyCallback
public interface ECtransCallback
The Interface ECtransCallback.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(TransferModule module) Completed.default voidconnected(TransferModule module) Notifies that the module has connected and is now processing the requested action.voidfailed(TransferModule module, String comment) Failed.Gets the ectrans setup.Gets the unique name.default booleanWhether transfer stream boundaries should report byte increments to this callback.voidRetry.voidSets the MS user.default voidtransferredBytes(long bytes) Reports newly observed bytes, not cumulative progress or resume offsets.
-
Method Details
-
isByteAccountingEnabled
default boolean isByteAccountingEnabled()Whether transfer stream boundaries should report byte increments to this callback. -
transferredBytes
default void transferredBytes(long bytes) Reports newly observed bytes, not cumulative progress or resume offsets. -
getECtransSetup
-
getUniqueName
-
setMSUser
-
retry
-
completed
-
connected
Notifies that the module has connected and is now processing the requested action. Called once, right beforeECtransAction.exec(TransferModule, boolean)starts, so implementations that need the liveTransferModuleinstance while a transfer is still in progress (e.g. to queryTransferModule.getConnectedRemoteAddress()for "Live ECPDS Earth") can capture it here. Default no-op for implementations that do not need it.- Parameters:
module- the module
-
failed
Failed.- Parameters:
module- the modulecomment- the comment
-