Class ECtransGet
java.lang.Object
ecmwf.common.ectrans.ECtransGet
-
Constructor Summary
ConstructorsConstructorDescriptionECtransGet(String source, Object ticket, long posn) Instantiates a new ectrans get.ECtransGet(String source, Object ticket, long posn, boolean removeOriginal) Instantiates a new ectrans get. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose(TransferModule module, long timeout, boolean asynchronous) Close.protected voidexec(TransferModule module, boolean interruptible) Exec.protected StringGets the cookie.protected ECtransCallbackGets the ectrans callback.protected ECtransContainerGets the EC trans container.protected ECtransHistoryGets the ectrans history.protected StringgetName()Gets the name.protected RemoteProviderGets the remote provider.Gets the result.Gets the ticket.voidinit(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie) Inits the.voidsetRemoveOriginal(boolean removeOriginal) Sets the removes the original.voidsetSize(long size) Sets the size.
-
Constructor Details
-
ECtransGet
-
ECtransGet
-
-
Method Details
-
setRemoveOriginal
public void setRemoveOriginal(boolean removeOriginal) Sets the removes the original.- Parameters:
removeOriginal- the new removes the original
-
setSize
public void setSize(long size) Sets the size.- Parameters:
size- the new size
-
getTicket
-
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.
-