|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentConnection
An AgentConnection represents the client-side connection to the blackboard. This is equivalent to Layer 4 (Transport) in the OSI model.
Method Summary | |
---|---|
void |
connect()
Make a connection. |
void |
disconnect()
terminate the connection. |
java.io.InputStream |
getInputStream()
Get an input stream for this connection |
java.io.OutputStream |
getOutputStream()
Get an output stream for this connection |
boolean |
isConnected()
Check if a connection is open. |
Method Detail |
---|
void connect() throws TransportException
TransportException
- if the connection could not be madeboolean isConnected()
void disconnect() throws TransportException
TransportException
- if something went wrong...java.io.InputStream getInputStream() throws TransportException
TransportException
- if an inputstream could not be obtained for some reason.java.io.OutputStream getOutputStream() throws TransportException
TransportException
- if an output stream could not be obtained for some reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |