public interface FTPDataSocket
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsId
Revision control id
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes underlying socket(s)
|
void |
closeChild()
Closes child socket
|
java.io.InputStream |
getInputStream()
Get the appropriate input stream for reading from
|
int |
getLocalPort()
Returns the local port to which this socket is bound.
|
java.io.OutputStream |
getOutputStream()
Get the appropriate output stream for writing to
|
void |
setTimeout(int millis)
Set the TCP timeout on the underlying control socket.
|
static final java.lang.String cvsId
void setTimeout(int millis) throws java.io.IOException
millis
- The length of the timeout, in millisecondsjava.io.IOException
int getLocalPort()
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
void closeChild() throws java.io.IOException
java.io.IOException