Interface DataConnectionFactory


public interface DataConnectionFactory
A DataConnection factory
Author:
Apache MINA Project
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close data socket.
    boolean
    Indicates whether the data socket created by this factory will be secure that is, running over SSL/TLS.
    Open an active data connection
  • Method Details

    • openConnection

      DataConnection openConnection() throws Exception
      Open an active data connection
      Returns:
      The open data connection
      Throws:
      Exception - If the connection cannot be opened
    • isSecure

      boolean isSecure()
      Indicates whether the data socket created by this factory will be secure that is, running over SSL/TLS.
      Returns:
      true if the data socket will be secured
    • closeDataConnection

      void closeDataConnection()
      Close data socket. If no open data connection exists, this will silently ignore the call.