|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StreamSource
A source of input and output streams for use with stream-based
TransportLayers. Implementations should contain the
necessary information for reconnecting streams as necessary. For
example a ServerSocket-based implementation should be able to listen
for fresh connections and get new streams from them (this must be
done when refresh() is called).
| Method Summary | |
|---|---|
void |
connect()
Gets new streams. |
void |
disconnect()
Closes streams and underlying connections. |
InputStream |
getInboundStream()
|
OutputStream |
getOutboundStream()
|
| Method Detail |
|---|
void connect()
throws TransportException
TransportException
void disconnect()
throws TransportException
TransportException
OutputStream getOutboundStream()
throws TransportException
TransportException
InputStream getInboundStream()
throws TransportException
TransportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||