All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

actionPerformed(ActionEvent). Method in class oaa.tools.frmHelp
addDoListener(DoListener). Method in class oaa.agents.bean.agentBean.AgentBean
Sets a new DoListener for this AgentBean.
addRemoteTrigger(String, String, String, String, String, String). Method in class oaa.agentlib.AgentLib
Adds a trigger to the appropriate agent.
addTrigger(String, String, String, String). Method in class oaa.agentlib.AgentLib
Adds a trigger to the appropriate agent.
addTriggerToKs(String, String, String, String, String). Method in class oaa.agentlib.AgentLib
Adds a trigger to the specified agent.
AgentBean(). Constructor for class oaa.agents.bean.agentBean.AgentBean
Constructs an AgentBean.
AgentLib(AgentInterface, String). Constructor for class oaa.agentlib.AgentLib
Constructor.
AgentLib(AgentInterface, String, String). Constructor for class oaa.agentlib.AgentLib
Constructor.
appDone(). Method in class oaa.agents.bean.agentBean.AgentBean
Part of the Agent Interface Implementation.
appDone(). Method in interface oaa.agents.AgentInterface
Called when exiting, here the application must disconnect the agent, and kill the threads
appInit(). Method in class oaa.agents.bean.agentBean.AgentBean
Part of the Agent Interface Implementation.
appInit(). Method in interface oaa.agents.AgentInterface
Called at initialization
args. Variable in class oaa.agents.bean.agentBean.DoEvent
The args of the function relative to this event.
args(String). Static method in class oaa.agentlib.AgentLib
Extract the params from a term "head(params)"
argument(String, int). Static method in class oaa.agentlib.AgentLib
Returns the nth argument in a term
argumentAsInt(String, int). Static method in class oaa.agentlib.AgentLib
Returns the nth argument in a term as integer

C

client. Variable in class oaa.agentlib.AgentLib
Reference to the communication layer
CommLib(AgentLib). Constructor for class oaa.agentlib.CommLib
Constructor
CommServer(AgentLib, String, int). Constructor for class oaa.agentlib.CommServer
connect(). Method in class oaa.agents.bean.agentBean.AgentBean
Create an AgentLib object and uses it to setup the communication with the Facilitator.
connect(String, int). Method in class oaa.agentlib.CommLib
Opens a Socket connection on a host on port_number
connected. Static variable in class oaa.agentlib.AgentLib
Status of the connection
copyright. Static variable in class oaa.agentlib.AgentLib
Copyright information.
copyright. Static variable in class oaa.agentlib.CommLib
Copyright and version information.

D

delaySolution(). Method in class oaa.agentlib.AgentLib
Defer solving a doEvent request until a later time.
deref(String, DynArray). Method in class oaa.agentlib.AgentLib
See if a variable can be resolved using existing variable bindings
disconnect(). Method in class oaa.agents.bean.agentBean.AgentBean
Simply calls appDone().
disconnect(). Method in class oaa.agentlib.AgentLib
Disconnects client from Facilitator.
disconnect(). Method in class oaa.agentlib.CommLib
Closes the Socket connection
doEvent(DoEvent). Method in interface oaa.agents.bean.agentBean.DoListener
DoEvent(Object, String, String, String). Constructor for class oaa.agents.bean.agentBean.DoEvent
Constructs a DoEvent, with the informations corresponding to those sent by the facilitator to the AgentBean.
doEvent(String, String, String). Method in class oaa.agents.bean.agentBean.AgentBean
Part of the Agent Interface Implementation.
doEvent(String, String, String). Method in interface oaa.agents.AgentInterface
Here, the application must define what the agent is doing
doIt(). Method in class oaa.agents.bean.agentBean.AgentBean
Part of the Agent Interface Implementation.
doIt(). Method in interface oaa.agents.AgentInterface
Starts agent's action
doubleQuotes(String). Static method in class oaa.agentlib.AgentLib
Doubles any "'" in the string, to prepare the string to be surrounded by "'".

E

extractEvent(String). Method in class oaa.agentlib.AgentLib
Parses an event (message from the facilitator) and returns KS,Event.

F

fireDoEvent(DoEvent). Method in class oaa.agents.bean.agentBean.AgentBean
Fires a DoEvent to the current registered listener.
first(String). Static method in class oaa.agentlib.AgentLib
Takes a list of terms (comma separated) and returns the first (car) one.
frmAbout(String, String). Constructor for class oaa.tools.frmAbout
Constructor
frmHelp(URL). Constructor for class oaa.tools.frmHelp
Constructor
func. Variable in class oaa.agents.bean.agentBean.DoEvent
The function relative to this event.
func(String). Static method in class oaa.agentlib.AgentLib
Extract the head from a term "head(params)"
functor(String). Static method in class oaa.agentlib.AgentLib
Splits a string containing a prolog-style term into a functor and arguments.

G

getAgentLib(). Method in class oaa.agents.bean.agentBean.AgentBean
Gets the reference to the AgentLib, which can be used to call its functions For example : myAgentBean.getAgentLib().solve(...).
getArgs(). Method in class oaa.agents.bean.agentBean.DoEvent
Gets the args of the function.
getEvent(boolean). Method in class oaa.agentlib.AgentLib
Reads an event from the TCP stream.
getFunc(). Method in class oaa.agents.bean.agentBean.DoEvent
Gets the function.
getHostName(). Method in class oaa.tools.OaaConnectDialog
Gets the host name
getKS(). Method in class oaa.agents.bean.agentBean.DoEvent
Gets the knowledge source.
getOaaHost(). Method in class oaa.agents.bean.agentBean.AgentBean
Gets the Facilitator machine host name.
getOaaName(). Method in class oaa.agents.bean.agentBean.AgentBean
Gets the agent name.
getOaaPort(). Method in class oaa.agents.bean.agentBean.AgentBean
Gets the Facilitator machine port number.
getOaaSolvables(). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the list of solvables.
getPortNumber(). Method in class oaa.tools.OaaConnectDialog
Gets the host name
getServerType(). Method in class oaa.agents.bean.agentBean.AgentBean
Gets the server type.

I

ifTraceOn(String, String). Method in class oaa.agentlib.AgentLib
Print a trace message if TraceOn is set.
isList(String). Static method in class oaa.agentlib.AgentLib
Returns true if the term is an ICL list (in form [1,2,3])
isVar(String). Static method in class oaa.agentlib.AgentLib
Returns true if the term is an ICL variable

K

keyPressed(KeyEvent). Method in class oaa.tools.frmHelp
keyReleased(KeyEvent). Method in class oaa.tools.frmHelp
keyTyped(KeyEvent). Method in class oaa.tools.frmHelp
kill(). Method in class oaa.agentlib.CommLib
Kill the reception Thread
KS. Variable in class oaa.agents.bean.agentBean.DoEvent
The knowledge source relative to this event.
KSname. Variable in class oaa.agentlib.AgentLib
Knowledge source name

L

lib. Variable in class oaa.agents.bean.agentBean.AgentBean
The AgentLib object (provides the same reference that the getAgentLib() method).
listen(). Method in class oaa.agentlib.CommLib
Waits continuously for a message.
listen(). Method in class oaa.agentlib.CommServer
name: listen purpose: waits continuously for a message.
listen_socket. Variable in class oaa.agentlib.CommServer
listLen(String). Static method in class oaa.agentlib.AgentLib
Returns the length of a comma separated list of ICL terms
listToTerms(String). Static method in class oaa.agentlib.AgentLib
Converts an incoming ICL list [elt1, elt2, elt3] form) into a list of terms, on which we can use list_len, NthElt, etc.
loop. Variable in class oaa.agentlib.AgentLib
To control the thread that performs the main oaa loop

M

mOk. Variable in class oaa.tools.OaaConnectDialog
True if the OK button was pushed
mouseClicked(MouseEvent). Method in class oaa.tools.frmAbout
mouseEntered(MouseEvent). Method in class oaa.tools.frmAbout
mouseExited(MouseEvent). Method in class oaa.tools.frmAbout
mousePressed(MouseEvent). Method in class oaa.tools.frmAbout
mouseReleased(MouseEvent). Method in class oaa.tools.frmAbout

N

nthElt(String, int). Static method in class oaa.agentlib.AgentLib
Returns the Nth term in a list of terms

O

OaaConnectDialog(Frame). Constructor for class oaa.tools.OaaConnectDialog
Constructor
OaaConnectDialog(Frame, String). Constructor for class oaa.tools.OaaConnectDialog
Constructor
OaaConnectDialog(Frame, String, boolean). Constructor for class oaa.tools.OaaConnectDialog
Constructor
oaaLoop(boolean). Method in class oaa.agentlib.AgentLib
Heart of the application, provides the get_event-interpret loop for a java application.
oaaReady(boolean). Method in class oaa.agentlib.AgentLib
Let the Server know that setupCommunication is done any personal initializations.

P

paramValue(String, String). Static method in class oaa.agentlib.AgentLib
Extracts the value from a parameter list
pollUntilEvent(String). Method in class oaa.agentlib.AgentLib
Waits until a matching event is returned from server
postEvent(String). Method in class oaa.agentlib.AgentLib
Sends an event (message) to the facilitator.
processWindowEvent(WindowEvent). Method in class oaa.tools.frmAbout

R

rcsId. Static variable in class oaa.agentlib.AgentLib
Version information.
rcsId. Static variable in class oaa.agentlib.CommLib
readBB(String, String). Method in class oaa.agentlib.AgentLib
Retrieves information from Facilitator's global data store.
readBB(String, String, boolean). Method in class oaa.agentlib.AgentLib
Retrieves information from Facilitator's global data store.
readBB(String, String, String). Method in class oaa.agentlib.AgentLib
Retrieves information from Facilitator's global data store.
readBB(String, String, String, boolean). Method in class oaa.agentlib.AgentLib
Retrieves information from Facilitator's global data store.
readSetupFile(String[]). Static method in class oaa.agentlib.AgentLib
Finds the host and port values for the facilitator, and possibly the name for the client agent, looking on the command line and/or in the setup file.
received. Variable in class oaa.agentlib.AgentLib
Current incoming buffer
removeDoListener(DoListener). Method in class oaa.agents.bean.agentBean.AgentBean
Removes the current DoListener for this AgentBean.
removeQuotes(String). Static method in class oaa.agentlib.AgentLib
Removes leading and trailing ' and " marks
replaceBB(String, String, String). Method in class oaa.agentlib.AgentLib
Changes item value from Old to New.
rest(String). Static method in class oaa.agentlib.AgentLib
Takes a list of terms (comma separated) and returns the rest (cdr) one.
retractBB(String, String). Method in class oaa.agentlib.AgentLib
Remove item from global data on blackboard.
returnDelayedSolutions(String, String). Method in class oaa.agentlib.AgentLib
Sends the solutions to a delayed event to the Facilitator, and removes the event from the delay table.
run(). Method in class oaa.agentlib.AgentLib
Implements the run method of the thread (parent) class.
run(). Method in class oaa.agentlib.CommServer

S

sendMsg(String). Method in class oaa.agentlib.CommLib
Sends a message in the socket
server. Variable in class oaa.agentlib.AgentLib
Reference to the communication layer (If working as server)
setHostName(String). Method in class oaa.tools.OaaConnectDialog
Sets the host name
setOaaHost(String). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the Facilitator machine host name.
setOaaName(String). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the agent name.
setOaaPort(int). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the Facilitator machine port number.
setOaaSolvables(String). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the list of solvables.
setPortNumber(int). Method in class oaa.tools.OaaConnectDialog
Sets the port number
setServerType(boolean). Method in class oaa.agents.bean.agentBean.AgentBean
Sets the server type.
setupCommunication(String, String, int, String, boolean). Method in class oaa.agentlib.AgentLib
Establishes tcp connection to the facilitator.
show(). Method in class oaa.tools.OaaConnectDialog
Displays the dialog box, centered with respect to its parent's dimension
solve(String, String). Method in class oaa.agentlib.AgentLib
Requests data or actions from distributed agents
solveParams. Variable in class oaa.agentlib.AgentLib
Current parameters used to solve predicates
startAsServer(String, int). Method in class oaa.agentlib.AgentLib
Starts an agent as a server.

T

term(String). Static method in class oaa.agentlib.AgentLib
Takes a list of terms (comma separated) and returns the first (car) and rest (cdr) of the list.

U

undoubleQuotes(String). Static method in class oaa.agentlib.AgentLib
Converts any '' marks inside a string to just '.
unify(String, String). Method in class oaa.agentlib.AgentLib
Perform true unification and return resulting term, or "" if failure

W

writeBB(String, String). Method in class oaa.agentlib.AgentLib
Add information to global data stored on blackboard server.
writeOnceBB(String, String). Method in class oaa.agentlib.AgentLib
Add information to global data stored on blackboard server at most one times (if exists, doesn't write).
writeReplaceBB(String, String). Method in class oaa.agentlib.AgentLib
Add information to global data stored on blackboard server, replacing old information with new information.