|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentProtocol
The AgentProtocol is separate from the AgentTransport to allow arbitrary connections ("transports" in the OSI networking model) to support arbitrary protocols ("sessions" in the OSI networking model)
Method Summary | |
---|---|
boolean |
isConnected()
See if the protocol is currently connected? |
void |
setConnection(AgentConnection connection)
Tell the protocol which underlying connection to use |
void |
setMessageHandler(MessageHandler messages)
Set the object to inform when new messages arrive from the blackboard |
Methods inherited from interface unsw.cse.mica.agent.AgentActions |
---|
connect, deleteMob, disconnect, getTypeManager, mobSearch, readMob, register, replaceMob, unregister, writeMob |
Method Detail |
---|
void setMessageHandler(MessageHandler messages)
void setConnection(AgentConnection connection)
connection
- boolean isConnected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |