|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a bidirectional stream carrying XML data.
Method Summary | |
void |
close()
Close this connection in both directions. |
java.io.InputStream |
getInputStream()
Provide an input stream for reading data from the endpoint. |
java.lang.String |
getName()
Provides a name for the stream. |
java.io.OutputStream |
getOutputStream()
Provide a byte stream for writing data to the endpoint. |
boolean |
isClosed()
Determine if this connection has been closed. |
Method Detail |
public java.lang.String getName()
Provides a name for the stream. This is implementation dependent, and may be the endpoints DNS hostname, an IP address, or a familiar name such as a Jabber service.
* @return A name for the stream.
public java.io.InputStream getInputStream() throws java.io.IOException
Provide an input stream for reading data from the endpoint.
* @return An InputStream to read data from. * @throws IOException Generated when the input stream could not be created.
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
Provide a byte stream for writing data to the endpoint.
* @return An OutputStream for writing data. * @throws IOException Generated when an output stream is not available.
java.io.IOException
public void close() throws java.io.IOException
Close this connection in both directions.
* @throws IOException Generated when there are problems closing the connection.
java.io.IOException
public boolean isClosed()
Determine if this connection has been closed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |