|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.enterprisedt.net.ftp.FTPActiveDataSocket
Active data socket handling class
Field Summary |
Fields inherited from interface com.enterprisedt.net.ftp.FTPDataSocket |
cvsId |
Method Summary | |
void |
close()
Closes underlying sockets |
java.io.InputStream |
getInputStream()
If active mode, accepts the FTP server's connection - in PASV, we are already connected. |
java.io.OutputStream |
getOutputStream()
If active mode, accepts the FTP server's connection - in PASV, we are already connected. |
void |
setTimeout(int millis)
Set the TCP timeout on the underlying control socket. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setTimeout(int millis) throws java.io.IOException
setTimeout
in interface FTPDataSocket
millis
- The length of the timeout, in milliseconds
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface FTPDataSocket
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface FTPDataSocket
java.io.IOException
public void close() throws java.io.IOException
close
in interface FTPDataSocket
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |