Class ECtransPut

java.lang.Object
ecmwf.common.ectrans.ECtransPut

public final class ECtransPut extends Object
The Class ECtransPut.
  • Constructor Details

    • ECtransPut

      public ECtransPut(String target, Object ticket, long posn, long size)
      Instantiates a new ectrans put.
      Parameters:
      target - the target
      ticket - the ticket
      posn - the posn
      size - the size
    • ECtransPut

      public ECtransPut(String target, Object ticket, long posn, long size, boolean toFilter, ProgressHandler handler)
      Instantiates a new ectrans put.
      Parameters:
      target - the target
      ticket - the ticket
      posn - the posn
      size - the size
      toFilter - the to filter
      handler - the handler
  • Method Details

    • getName

      protected String getName()
      Gets the name. Gets the name.
      Returns:
      the name
    • exec

      protected void exec(TransferModule module, boolean interruptible) throws Exception
      Exec. Exec.
      Parameters:
      module - the module
      interruptible - the interruptible
      Throws:
      Exception - the exception
    • init

      public void init(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie)
      Inits the.
      Parameters:
      provider - the provider
      container - the container
      callback - the callback
      cookie - the cookie
    • getECTransContainer

      protected ECtransContainer getECTransContainer()
      Gets the EC trans container.
      Returns:
      the EC trans container
    • getECtransCallback

      protected ECtransCallback getECtransCallback()
      Gets the ectrans callback.
      Returns:
      the ectrans callback
    • getRemoteProvider

      protected RemoteProvider getRemoteProvider()
      Gets the remote provider.
      Returns:
      the remote provider
    • getECtransHistory

      protected ECtransHistory getECtransHistory()
      Gets the ectrans history.
      Returns:
      the ectrans history
    • getCookie

      protected String getCookie()
      Gets the cookie.
      Returns:
      the cookie
    • getResult

      public Object getResult()
      Gets the result.
      Returns:
      the result
    • close

      protected void close(TransferModule module, long timeout, boolean asynchronous) throws IOException
      Close.
      Parameters:
      module - the module
      timeout - the timeout
      asynchronous - the asynchronous
      Throws:
      IOException - Signals that an I/O exception has occurred.