mess
Class FuzzyMessEHA

java.lang.Object
  |
  +--mess.FuzzyMessEHA

public class FuzzyMessEHA
extends Object
implements ExceptionHandler, FuzzyMess, Mess


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
FuzzyMessEHA(MetagluePrimitives ap, AgentID agentID, Catalog c)
           
 
Method Summary
 void addMonitor(Spy param0)
          Add a log monitor that gets all the screen output.
 void addUserfunction(Serializable param0)
           
 boolean alive()
           
 void assert(Fact param0)
           
 void assert(String param0)
           
 void assertAttribute(String param0)
           
 void assertSpeechTag(String param0, String param1)
           
 void clear()
           
 void execCommand(String param0)
          Passes a JESS command to the engine.
 Vector facts()
           
 String fetch(String param0)
           
 int fetchInt(String param0)
           
 Agent getAgent()
          get the internal stub used.
 AgentID getAgentID()
           
 AgentID getAgtID()
          get the internal agentID used.
 Vector getHistory()
           
 String getHistoryElement(int param0)
           
 AgentID getMetaglueAgentID()
           
 void instantiate(Agent a)
           
 void loadFacts()
           
 boolean loadFile(String param0)
          Loads a set of definitions into the interpreter from a filename.
 boolean loadScript(String param0)
           
 boolean loadString(String param0)
          Loads a set of definitions into the interpreter from a string.
 boolean loadURL(String param0)
          Loads a set of definitions into the interpreter from a URL.
 Fact newFact(Fact param0)
           
 Fact newFact(String param0)
           
 void replaceExceptionHandler(AgentExceptionHandler r)
           
 void reset()
           
 void resetHistory()
           
 void retract(Fact param0)
           
 void retract(String param0)
           
 Hashtable run()
           
 void saveFacts()
           
 void setAgent(Agent a)
          set the internal stub used to passed agent.
 void setAgtID(AgentID a)
          set the internal agentID used to passed agent.
 void shutdown()
           
 void startup()
           
 void store(String param0, Object param1)
           
 void tell(Secret param0)
          This is called if the Agent is to recieve a particular secret.
 InetAddress whereAreYou()
          Returns the InetAddress of the machine where the agent is running
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzyMessEHA

public FuzzyMessEHA(MetagluePrimitives ap,
                    AgentID agentID,
                    Catalog c)
             throws RemoteException
Method Detail

getAgent

public Agent getAgent()
Description copied from interface: ExceptionHandler
get the internal stub used. (Used for resource management interception)
Specified by:
getAgent in interface ExceptionHandler

setAgent

public void setAgent(Agent a)
Description copied from interface: ExceptionHandler
set the internal stub used to passed agent. (Used for resource management interception)
Specified by:
setAgent in interface ExceptionHandler

getAgtID

public AgentID getAgtID()
Description copied from interface: ExceptionHandler
get the internal agentID used. (Used for resource management interception)
Specified by:
getAgtID in interface ExceptionHandler

setAgtID

public void setAgtID(AgentID a)
Description copied from interface: ExceptionHandler
set the internal agentID used to passed agent. (Used for resource management interception)
Specified by:
setAgtID in interface ExceptionHandler

instantiate

public void instantiate(Agent a)
Specified by:
instantiate in interface ExceptionHandler

replaceExceptionHandler

public void replaceExceptionHandler(AgentExceptionHandler r)
Specified by:
replaceExceptionHandler in interface ExceptionHandler

tell

public void tell(Secret param0)
          throws RemoteException
Description copied from interface: Spy
This is called if the Agent is to recieve a particular secret.

addMonitor

public void addMonitor(Spy param0)
                throws RemoteException
Description copied from interface: Agent
Add a log monitor that gets all the screen output.

alive

public boolean alive()
              throws RemoteException

getAgentID

public AgentID getAgentID()

getMetaglueAgentID

public AgentID getMetaglueAgentID()
                           throws RemoteException

shutdown

public void shutdown()
              throws RemoteException

startup

public void startup()
             throws RemoteException

whereAreYou

public InetAddress whereAreYou()
                        throws RemoteException
Description copied from interface: Agent
Returns the InetAddress of the machine where the agent is running

getHistory

public Vector getHistory()
                  throws RemoteException

getHistoryElement

public String getHistoryElement(int param0)
                         throws RemoteException

resetHistory

public void resetHistory()
                  throws RemoteException

addUserfunction

public void addUserfunction(Serializable param0)
                     throws RemoteException
Specified by:
addUserfunction in interface Mess

assert

public void assert(String param0)
            throws RemoteException
Specified by:
assert in interface Mess

assert

public void assert(Fact param0)
            throws RemoteException
Specified by:
assert in interface Mess

assertAttribute

public void assertAttribute(String param0)
                     throws RemoteException
Specified by:
assertAttribute in interface Mess

assertSpeechTag

public void assertSpeechTag(String param0,
                            String param1)
                     throws RemoteException
Specified by:
assertSpeechTag in interface Mess

clear

public void clear()
           throws RemoteException
Specified by:
clear in interface Mess

execCommand

public void execCommand(String param0)
                 throws RemoteException
Description copied from interface: Mess
Passes a JESS command to the engine.
Specified by:
execCommand in interface Mess

facts

public Vector facts()
             throws RemoteException
Specified by:
facts in interface Mess

fetch

public String fetch(String param0)
             throws RemoteException
Specified by:
fetch in interface Mess

fetchInt

public int fetchInt(String param0)
             throws RemoteException
Specified by:
fetchInt in interface Mess

loadFacts

public void loadFacts()
               throws RemoteException
Specified by:
loadFacts in interface Mess

loadFile

public boolean loadFile(String param0)
                 throws RemoteException
Description copied from interface: Mess
Loads a set of definitions into the interpreter from a filename.
Specified by:
loadFile in interface Mess

loadScript

public boolean loadScript(String param0)
                   throws RemoteException
Specified by:
loadScript in interface Mess

loadString

public boolean loadString(String param0)
                   throws RemoteException
Description copied from interface: Mess
Loads a set of definitions into the interpreter from a string.
Specified by:
loadString in interface Mess

loadURL

public boolean loadURL(String param0)
                throws RemoteException
Description copied from interface: Mess
Loads a set of definitions into the interpreter from a URL. If the URL is not fully specified, an intelligent base URL will be used to resolve ambiguity. If the loaded code includes the `(run)' directive, this will also run the expert system to completion.
Specified by:
loadURL in interface Mess

newFact

public Fact newFact(String param0)
             throws RemoteException
Specified by:
newFact in interface Mess

newFact

public Fact newFact(Fact param0)
             throws RemoteException
Specified by:
newFact in interface Mess

reset

public void reset()
           throws RemoteException
Specified by:
reset in interface Mess

retract

public void retract(String param0)
             throws RemoteException
Specified by:
retract in interface Mess

retract

public void retract(Fact param0)
             throws RemoteException
Specified by:
retract in interface Mess

run

public Hashtable run()
              throws RemoteException
Specified by:
run in interface Mess

saveFacts

public void saveFacts()
               throws RemoteException
Specified by:
saveFacts in interface Mess

store

public void store(String param0,
                  Object param1)
           throws RemoteException
Specified by:
store in interface Mess