|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.dialog.app.calo.main.oaa.CaloY3OaaInterface
public class CaloY3OaaInterface
This is an OAA interface to our CALO services -- for the purposes of answering PQs in the test.
| Nested Class Summary | |
|---|---|
protected class |
CaloY3OaaInterface.MyOAAEventListener
Implements the required OAA event listener for the DoEvent style callbacks. |
| Constructor Summary | |
|---|---|
CaloY3OaaInterface(ServiceManager serviceManager)
Create and start the OAA service. |
|
| Method Summary | |
|---|---|
boolean |
connectToCommunity()
Connects this agent to the OAA community. |
JPanel |
getGui()
Get a Swing JPanel which provides a GUI to this service. |
String |
getTitle()
Get the name of this service as it should appear in the GUI. |
boolean |
isServiceAlive()
Is the service happy and alive? |
boolean |
myCommunityDoEvent(com.sri.oaa2.icl.IclTerm goal,
com.sri.oaa2.icl.IclList params,
com.sri.oaa2.icl.IclList answers)
Handles all of the incoming requests for solutions. |
protected void |
setSolvables(String inSolvables)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CaloY3OaaInterface(ServiceManager serviceManager)
serviceManager - | Method Detail |
|---|
public boolean connectToCommunity()
public JPanel getGui()
Service
getGui in interface Servicepublic String getTitle()
Service
getTitle in interface Servicepublic boolean isServiceAlive()
Service
isServiceAlive in interface Service
public boolean myCommunityDoEvent(com.sri.oaa2.icl.IclTerm goal,
com.sri.oaa2.icl.IclList params,
com.sri.oaa2.icl.IclList answers)
goal - params - answers -
protected void setSolvables(String inSolvables)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||