com.ibm.able.examples.fuzzy
Class SampleSensorEffector
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.ibm.able.AbleObject
|
+--com.ibm.able.examples.fuzzy.SampleSensorEffector
- public class SampleSensorEffector
- extends AbleObject
This class is a command line test case (it has a main() method)
that creates a fuzzy ruleset, a fuzzy ruleset listener, wires the
two together, and then processes the rules. Lots of listener
messages should result on the java console.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.able.AbleObject |
changed,
chgSupport,
comment,
dataFlowEnabled,
destBufferConnections,
eventQueue,
fileName,
inputBuffer,
listeners,
logger,
name,
outputBuffer,
parent,
propertyConnectionMgr,
sourceBufferConnections,
state,
stateChgSupport |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
process()
|
void |
runSample()
|
java.lang.Object |
setLockMethod(java.lang.Object theTstObject)
The "effector" named "setLock". |
java.lang.Object |
tstLockMethod(java.lang.Object theTstObject)
The "sensor" named "tstLock". |
Methods inherited from class com.ibm.able.AbleObject |
addAbleEventListener,
addDestBufferConnection,
addPropertyChangeListener,
addPropertyConnection,
addSourceBufferConnection,
addStateChangeListener,
Copyright,
dataChanged,
firePropertyChange,
flushAbleEventQueue,
getAbleEventListeners,
getAbleEventProcessingEnabled,
getAbleEventQueueSize,
getBuffer,
getBufferContents,
getComment,
getDestBufferConnections,
getFileName,
getInputBuffer,
getInputBuffer,
getInputBufferAsStringArray,
getInputBufferContents,
getLogger,
getName,
getOutputBuffer,
getOutputBuffer,
getOutputBufferAsStringArray,
getOutputBufferContents,
getParent,
getPropertyConnectionManager,
getSleepTime,
getSourceBufferConnections,
getState,
handleAbleEvent,
hasInputBuffer,
hasOutputBuffer,
init,
init,
isAbleEventPostingEnabled,
isAbleEventProcessingEnabled,
isChanged,
isConnectable,
isDataFlowEnabled,
isTimerEventProcessingEnabled,
notifyAbleEventListeners,
processAbleEvent,
processBufferConnections,
processNoEventProcessingEnabledSituation,
processTimerEvent,
propertyChange,
quitAll,
quitEnabledEventProcessing,
removeAbleEventListener,
removeAllAbleEventListeners,
removeAllBufferConnections,
removeAllPropertyConnections,
removeDestBufferConnection,
removePropertyChangeListener,
removePropertyConnection,
removeSourceBufferConnection,
removeStateChangeListener,
reset,
restartEnabledEventProcessing,
restoreFromFile,
restoreFromFile,
restoreFromSerializedFile,
restoreFromStream,
resumeAll,
resumeEnabledEventProcessing,
saveToFile,
saveToFile,
setAbleEventProcessingEnabled,
setChanged,
setComment,
setDataFlowEnabled,
setFileName,
setInputBuffer,
setInputBuffer,
setLogger,
setName,
setOutputBuffer,
setOutputBuffer,
setParent,
setSleepTime,
setState,
setTimerEventProcessingEnabled,
sourceConnectionsOK,
startEnabledEventProcessing,
suspendAll,
suspendEnabledEventProcessing,
toString |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone,
exportObject,
exportObject,
exportObject,
unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost,
getLog,
setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals,
getRef,
hashCode,
toStub |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
SampleSensorEffector
public SampleSensorEffector()
throws java.rmi.RemoteException
SampleSensorEffector
public SampleSensorEffector(java.lang.String theName)
throws java.rmi.RemoteException
process
public void process()
throws java.rmi.RemoteException
- Overrides:
- process in class AbleObject
runSample
public void runSample()
tstLockMethod
public java.lang.Object tstLockMethod(java.lang.Object theTstObject)
- The "sensor" named "tstLock".
This method simply returns a new copy of the argument.
setLockMethod
public java.lang.Object setLockMethod(java.lang.Object theTstObject)
- The "effector" named "setLock".
This method simply returns a new copy of the argument.
main
public static void main(java.lang.String[] args)
ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'