|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jess.JessEventAdapter
public class JessEventAdapter
A JessEventAdapter that lets you write JessEvent handlers in the Jess language. The adapter serves as "glue" between a source of JessEvents and a Userfunction that will be invoked when an event is received.
(C) 2013 Sandia Corporation
Constructor Summary | |
---|---|
JessEventAdapter(java.lang.String uf,
Rete engine)
Create an adapter. |
Method Summary | |
---|---|
void |
eventHappened(JessEvent e)
Called when a JessEvent occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JessEventAdapter(java.lang.String uf, Rete engine) throws JessException
uf
- The name of a Jess functionengine
- The engine to field events from
JessException
- If anything goes wrong.Method Detail |
---|
public final void eventHappened(JessEvent e)
eventHappened
in interface JessListener
e
- The event
|
© 2013 Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |