| com.enterprisedt.net.ftp.FTPDataSocket
All known Subclasses: com.enterprisedt.net.ftp.FTPActiveDataSocket, com.enterprisedt.net.ftp.FTPPassiveDataSocket,
FTPDataSocket | public interface FTPDataSocket (Code) | | Interface for data socket classes, whether active or passive
author: Bruce Blackshaw version: $Revision: 1.9 $ |
cvsId | final public static String cvsId(Code) | | Revision control id
|
getInputStream | public InputStream getInputStream() throws IOException(Code) | | Get the appropriate input stream for reading from
input stream for underlying socket. |
getLocalPort | public int getLocalPort()(Code) | | Returns the local port to which this socket is bound.
the local port number to which this socket is bound |
getOutputStream | public OutputStream getOutputStream() throws IOException(Code) | | Get the appropriate output stream for writing to
output stream for underlying socket. |
setTimeout | public void setTimeout(int millis) throws IOException(Code) | | Set the TCP timeout on the underlying control socket.
If a timeout is set, then any operation which
takes longer than the timeout value will be
killed with a java.io.InterruptedException.
Parameters: millis - The length of the timeout, in milliseconds |
|
|