Class MoverServer.ECproxyCallback

java.lang.Object
ecmwf.common.ectrans.DefaultCallback
ecmwf.ecpds.mover.MoverServer.ECproxyCallback
All Implemented Interfaces:
ECtransCallback
Enclosing class:
MoverServer

public final class MoverServer.ECproxyCallback extends DefaultCallback
The Class ECproxyCallback.
  • Method Details

    • connected

      public void connected(TransferModule module)
      Description copied from interface: ECtransCallback
      Notifies that the module has connected and is now processing the requested action. Called once, right before ECtransAction.exec(TransferModule, boolean) starts, so implementations that need the live TransferModule instance while a transfer is still in progress (e.g. to query TransferModule.getConnectedRemoteAddress() for "Live ECPDS Earth") can capture it here. Default no-op for implementations that do not need it.
      Parameters:
      module - the module
    • executionFinished

      public void executionFinished(TransferModule module, boolean successful)
      Description copied from interface: ECtransCallback
      Optional evidence hook, also invoked when action cleanup prevents the ordinary terminal callback.
    • completed

      public void completed(TransferModule module)
      Completed.
      Specified by:
      completed in interface ECtransCallback
      Overrides:
      completed in class DefaultCallback
      Parameters:
      module - the module
    • failed

      public void failed(TransferModule module, String comment)
      Failed.
      Specified by:
      failed in interface ECtransCallback
      Overrides:
      failed in class DefaultCallback
      Parameters:
      module - the module
      comment - the comment
    • check

      public void check() throws IOException
      Check if the transmission was successful?.
      Throws:
      IOException - Signals that an I/O exception has occurred.