|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FTPConnector
This interface describes a connector. Connectors are used by the client to establish connections with remote servers.
| Method Summary | |
|---|---|
java.net.Socket |
connectForCommunicationChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP communication channel. |
java.net.Socket |
connectForDataTransferChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP data transfer channel. |
| Method Detail |
|---|
java.net.Socket connectForCommunicationChannel(java.lang.String host,
int port)
throws java.io.IOException
host - The remote host name or address.port - The remote port.
java.io.IOException - If the connection cannot be established.
java.net.Socket connectForDataTransferChannel(java.lang.String host,
int port)
throws java.io.IOException
host - The remote host name or address.port - The remote port.
java.io.IOException - If the connection cannot be established.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||