|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sri.oaa2.mapper.OAAMapperAgent
OAAMapperAgent is a simple OAA agent that registers with a local facilitator, advertises the solvables listed in a an XML OAAMapper file, and passes solvable requests to a specified OAAMapper. It can be subclassed in order to add additional functionality, or the LibOaa object can be accessed directly.
| Constructor Summary | |
OAAMapperAgent(OAAMapper oaaMapper,
java.lang.String agentName)
Creates a new OAAMapperAgent with the specified OAAMapper and agent name. |
|
| Method Summary | |
void |
connect()
Connects to a local facilitator. |
void |
disconnect()
Disconnects from the facilitator. |
java.lang.String |
getAgentName()
|
LibOaa |
getOaaFacilitator()
|
OAAMapper |
getOaaMapper()
|
boolean |
isConnected()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OAAMapperAgent(OAAMapper oaaMapper,
java.lang.String agentName)
oaaMapper - agentName - | Method Detail |
public void connect()
throws java.io.IOException
java.io.IOExceptionpublic void disconnect()
public boolean isConnected()
public LibOaa getOaaFacilitator()
public OAAMapper getOaaMapper()
public java.lang.String getAgentName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||