Package org.apache.ftpserver.ftplet
Interface DataConnectionFactory
public interface DataConnectionFactory
A DataConnection factory
- Author:
- Apache MINA Project
-
Method Summary
Modifier and TypeMethodDescriptionvoidClose data socket.booleanisSecure()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
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:
trueif the data socket will be secured
-
closeDataConnection
void closeDataConnection()Close data socket. If no open data connection exists, this will silently ignore the call.
-