|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataConnectionConfiguration
Data connection configuration interface.
Method Summary | |
---|---|
java.net.InetAddress |
getActiveLocalAddress()
Get the active data connection local host. |
int |
getActiveLocalPort()
Get the active data connection local port. |
int |
getIdleTime()
Get the maximum idle time in seconds. |
java.net.InetAddress |
getPassiveAddress()
Get passive server address. |
java.net.InetAddress |
getPassiveExernalAddress()
Get the passive address that will be returned to clients on the PASV command. |
java.lang.String |
getPassivePorts()
Set the passive ports to be used for data connections. |
SslConfiguration |
getSslConfiguration()
Get SSL configuration for this data connection. |
boolean |
isActiveEnabled()
Is active data connection enabled? |
boolean |
isActiveIpCheck()
Check the PORT IP with the client IP? |
void |
releasePassivePort(int port)
Release passive port. |
int |
requestPassivePort()
Request a passive port |
void |
setPassivePorts(java.lang.String passivePorts)
Set the allowed passive ports. |
Method Detail |
---|
int getIdleTime()
boolean isActiveEnabled()
boolean isActiveIpCheck()
java.net.InetAddress getActiveLocalAddress()
int getActiveLocalPort()
java.net.InetAddress getPassiveAddress()
java.net.InetAddress getPassiveExernalAddress()
java.lang.String getPassivePorts()
void setPassivePorts(java.lang.String passivePorts)
passivePorts
- The passive ports to use for this data connectionfor details on the allowed format.
If set to null, the passive port with be assigned from any available port
int requestPassivePort()
void releasePassivePort(int port)
SslConfiguration getSslConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |