|
edtFTPj | |||||||||
| 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 String |
cvsId
Revision control id |
| Method Summary | |
|---|---|
void |
close()
Closes underlying socket(s) |
void |
closeChild()
Closes child socket |
InputStream |
getInputStream()
Get the appropriate input stream for reading from |
int |
getLocalPort()
Returns the local port to which this socket is bound. |
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 String cvsId
| Method Detail |
|---|
void setTimeout(int millis)
throws IOException
millis - The length of the timeout, in milliseconds
IOExceptionint getLocalPort()
OutputStream getOutputStream()
throws IOException
IOException
InputStream getInputStream()
throws IOException
IOException
void close()
throws IOException
IOException
void closeChild()
throws IOException
IOException
|
edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||