|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.myjavaworld.ftp.ControlConnection
com.myjavaworld.ftp.ExplicitSSLControlConnection
public class ExplicitSSLControlConnection
This class represents a Control Connection as specified in the FTP protocol specification. For more details refer to RFC 959.
| Field Summary |
|---|
| Fields inherited from class com.myjavaworld.ftp.ControlConnection |
|---|
client, listenerList, reader, socket, writer |
| Fields inherited from interface com.myjavaworld.ftp.FTPConstants |
|---|
DEFAULT_BUFFER_SIZE, DEFAULT_IMPLICIT_SSL_PORT, DEFAULT_MODE, DEFAULT_PORT, DEFAULT_STRUCTURE, DEFAULT_TIMEOUT, DEFAULT_TYPE, EOL, MODE_BLOCK, MODE_COMPRESSED, MODE_STREAM, STRUCTURE_FILE, STRUCTURE_PAGE, STRUCTURE_RECORD, TYPE_ASCII, TYPE_BINARY, TYPE_EBCDIC, TYPE_IMAGE, TYPE_LOCAL, USE_EXPLICIT_SSL, USE_IMPLICIT_SSL, USE_NO_SSL, USE_SSL_IF_AVAILABLE |
| Constructor Summary | |
|---|---|
ExplicitSSLControlConnection(FTPClient client)
Creates an instance of ExplicitSSLControlConnection. |
|
| Method Summary | |
|---|---|
void |
connect(java.lang.String host,
int port)
Connects to the specified remote host on the specified port number. |
| Methods inherited from class com.myjavaworld.ftp.ControlConnection |
|---|
close, connect, executeCommand, fireCommandSent, fireReplyReceived, getLocalAddress, getLocalHost, getLocalIPAddress, getLocalPort, getRemoteAddress, getRemoteHost, getRemoteIPAddress, getRemotePort, getReply, getSSLSession, isSecured, sendCommand, stderr, stdout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExplicitSSLControlConnection(FTPClient client)
ExplicitSSLControlConnection.
client - | Method Detail |
|---|
public void connect(java.lang.String host,
int port)
throws ConnectionException,
FTPException
connect in class ControlConnectionhost - Host name or IP address of the remote host.port - Port number to connect to.
ConnectionException - If unable to connect to the specified host.
FTPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||