Class DefaultCallback
java.lang.Object
ecmwf.common.ectrans.DefaultCallback
- All Implemented Interfaces:
ECtransCallback
- Direct Known Subclasses:
MoverServer.ECproxyCallback
The Class DefaultCallback.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCallback
(ECtransSetup setup) Instantiates a new default callback.DefaultCallback
(RemoteProvider provider, MSUser msuser) Instantiates a new default callback. -
Method Summary
Modifier and TypeMethodDescriptionvoid
completed
(TransferModule module) Completed.void
failed
(TransferModule module, String comment) Failed.Gets the ectrans setup.Gets the unique name.void
Retry.void
Sets the MS user.
-
Constructor Details
-
DefaultCallback
Instantiates a new default callback.- Parameters:
setup
- the setup
-
DefaultCallback
Instantiates a new default callback.- Parameters:
provider
- the providermsuser
- the msuser
-
-
Method Details
-
getUniqueName
Gets the unique name. Gets the unique name.- Specified by:
getUniqueName
in interfaceECtransCallback
- Returns:
- the unique name
-
getECtransSetup
Gets the ectrans setup. Gets the ectrans setup.- Specified by:
getECtransSetup
in interfaceECtransCallback
- Returns:
- the ectrans setup
-
setMSUser
Sets the MS user. Sets the MS user.- Specified by:
setMSUser
in interfaceECtransCallback
- Parameters:
msuser
- the new MS user
-
retry
Retry. Retry.- Specified by:
retry
in interfaceECtransCallback
- Parameters:
comment
- the comment
-
completed
Completed. Completed.- Specified by:
completed
in interfaceECtransCallback
- Parameters:
module
- the module
-
failed
Failed. Failed.- Specified by:
failed
in interfaceECtransCallback
- Parameters:
module
- the modulecomment
- the comment
-