Class ECtransPut
java.lang.Object
ecmwf.common.ectrans.ECtransPut
-
Constructor Summary
ConstructorsConstructorDescriptionECtransPut
(String target, Object ticket, long posn, long size) Instantiates a new ectrans put.ECtransPut
(String target, Object ticket, long posn, long size, boolean toFilter, ProgressHandler handler) Instantiates a new ectrans put. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
close
(TransferModule module, long timeout, boolean asynchronous) Close.protected void
exec
(TransferModule module, boolean interruptible) Exec.protected String
Gets the cookie.protected ECtransCallback
Gets the ectrans callback.protected ECtransContainer
Gets the EC trans container.protected ECtransHistory
Gets the ectrans history.protected String
getName()
Gets the name.protected RemoteProvider
Gets the remote provider.Gets the result.void
init
(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie) Inits the.
-
Constructor Details
-
ECtransPut
-
ECtransPut
public ECtransPut(String target, Object ticket, long posn, long size, boolean toFilter, ProgressHandler handler) Instantiates a new ectrans put.- Parameters:
target
- the targetticket
- the ticketposn
- the posnsize
- the sizetoFilter
- the to filterhandler
- the handler
-
-
Method Details
-
getName
-
exec
Exec. Exec.- Parameters:
module
- the moduleinterruptible
- the interruptible- Throws:
Exception
- the exception
-
init
public void init(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie) Inits the.- Parameters:
provider
- the providercontainer
- the containercallback
- the callbackcookie
- the cookie
-
getECTransContainer
Gets the EC trans container.- Returns:
- the EC trans container
-
getECtransCallback
Gets the ectrans callback.- Returns:
- the ectrans callback
-
getRemoteProvider
-
getECtransHistory
-
getCookie
-
getResult
-
close
Close.- Parameters:
module
- the moduletimeout
- the timeoutasynchronous
- the asynchronous- Throws:
IOException
- Signals that an I/O exception has occurred.
-