|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instances of this one represent connections with remote hosts.
Method Summary | |
void |
close()
This method closes the connection. |
java.io.InputStream |
getInputStream()
This method returns the InputStream for this connection. |
java.io.OutputStream |
getOutputStream()
This method returns the OutputStream for this connection. |
Method Detail |
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occurs when creating the stream.public java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occurs when creating the stream.public void close() throws java.io.IOException
java.io.IOException
- If an I/O error occurs when closing the connection.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |