wclient
Class PerceptKeeperBean
java.lang.Object
|
+--wclient.GenericBean
|
+--wclient.PerceptKeeperBean
- All Implemented Interfaces:
- java.lang.Runnable
- public class PerceptKeeperBean
- extends GenericBean
- implements java.lang.Runnable
Responsible for keeping any transferpercept objects that may
appear on the socket, so that they may be accessed by the
agent at any time.
MDS: Modified from PerceptKeeper to conform to Thermometer class in _Jess
in Action_ and to include bean interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerceptKeeperBean
public PerceptKeeperBean(Communicator comm)
getStench
public boolean getStench()
getBreeze
public boolean getBreeze()
getGlitter
public boolean getGlitter()
getBump
public boolean getBump()
getScream
public boolean getScream()
getHint
public java.lang.String getHint()
getStatus
public int getStatus()
getScore
public int getScore()
getNumArrow
public int getNumArrow()
getNumGold
public int getNumGold()
getActionTaken
public int getActionTaken()
retrievePercept
public TransferPercept retrievePercept()
makePropString
public java.lang.String makePropString(TransferPercept tp)
fireChanges
public void fireChanges(TransferPercept oldPercept)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable