|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPDataSocket
Interface for data socket classes, whether active or passive
Field Summary | |
---|---|
static java.lang.String |
cvsId
Revision control id |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String cvsId
Method Detail |
---|
void setTimeout(int millis) throws java.io.IOException
millis
- The length of the timeout, in milliseconds
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |