Class RemoteProvider

java.lang.Object
ecmwf.common.ectrans.RemoteProvider
Direct Known Subclasses:
ECtransProvider

public abstract class RemoteProvider extends Object
The Class RemoteProvider.
  • Constructor Details

    • RemoteProvider

      public RemoteProvider()
  • Method Details

    • getRoot

      public abstract String getRoot()
      Gets the root.
      Returns:
      the root
    • updateMSUser

      public abstract void updateMSUser(MSUser msuser) throws IOException
      Update ms user.
      Parameters:
      msuser - the msuser
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getECtransDestination

      public abstract ECtransDestination getECtransDestination(String name)
      Gets the ectrans destination.
      Parameters:
      name - the name
      Returns:
      the ectrans destination
    • onClose

      public void onClose(ECtransHistory history) throws IOException
      On close.
      Parameters:
      history - the history
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • encrypt

      public String encrypt(String data)
      Encrypt.
      Parameters:
      data - the data
      Returns:
      the string
    • decrypt

      public String decrypt(String data)
      Decrypt.
      Parameters:
      data - the data
      Returns:
      the string
    • getAllocateInterface

      public AllocateInterface getAllocateInterface(String url, Properties properties) throws Exception
      Gets the allocate interface.
      Parameters:
      url - the url
      properties - the properties
      Returns:
      the allocate interface
      Throws:
      Exception - the exception
    • getNotificationInterface

      public NotificationInterface getNotificationInterface(String url, String name, String password) throws Exception
      Gets the notification interface.
      Parameters:
      url - the url
      name - the name
      password - the password
      Returns:
      the notification interface
      Throws:
      Exception - the exception
    • loadTransferModule

      public TransferModule loadTransferModule(ECtransModule module) throws Exception
      Load transfer module.
      Parameters:
      module - the module
      Returns:
      the transfer module
      Throws:
      Exception - the exception
    • unloadTransferModule

      public void unloadTransferModule(TransferModule module)
      Unload transfer module.
      Parameters:
      module - the module
    • getDataInputStream

      public abstract InputStream getDataInputStream(Object ticket) throws IOException
      Gets the data input stream.
      Parameters:
      ticket - the ticket
      Returns:
      the data input stream
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getDataOutputStream

      public abstract OutputStream getDataOutputStream(Object ticket) throws IOException
      Gets the data output stream.
      Parameters:
      ticket - the ticket
      Returns:
      the data output stream
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getDataInputFile

      public File getDataInputFile(Object ticket) throws IOException
      Gets the data input file.
      Parameters:
      ticket - the ticket
      Returns:
      the data input file
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getDataOutputFile

      public File getDataOutputFile(Object ticket) throws IOException
      Gets the data output file.
      Parameters:
      ticket - the ticket
      Returns:
      the data output file
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getObject

      public Object getObject(Object key) throws IOException
      Gets the object.
      Parameters:
      key - the key
      Returns:
      the object
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getOriginalFilename

      public String getOriginalFilename(Object ticket) throws IOException
      Gets the data output file.
      Parameters:
      ticket - the ticket
      Returns:
      the data output file
      Throws:
      IOException - Signals that an I/O exception has occurred.