|
||||||||||
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
TransportLayer
s. 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. |
java.io.InputStream |
getInboundStream()
|
java.io.OutputStream |
getOutboundStream()
|
Method Detail |
---|
void connect() throws TransportException
TransportException
void disconnect() throws TransportException
TransportException
java.io.OutputStream getOutboundStream() throws TransportException
TransportException
java.io.InputStream getInboundStream() throws TransportException
TransportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |