|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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) |
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 |
public static final java.lang.String cvsId
Method Detail |
public void setTimeout(int millis) throws java.io.IOException
millis
- The length of the timeout, in milliseconds
java.io.IOException
public int getLocalPort()
public java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |