Class DataSocket

java.lang.Object
ecmwf.common.ftpd.DataSocket
All Implemented Interfaces:
Closeable, AutoCloseable

public final class DataSocket extends Object implements Closeable
The Class DataSocket.
  • Method Details

    • getDataSocket

      public Socket getDataSocket(CurrentContext currentContext)
      Gets the data socket.
      Parameters:
      currentContext - the current context
      Returns:
      the data socket
    • close

      public void close()
      Close data socket.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable