|
After looking at the Jess code I see where the
problem was in my code. Basically I should have had called the
Rete.setEventMask(). After doing so everything started to work.
Shawn Arvin
----- Original Message -----
Sent: Friday, April 05, 2002 2:26
PM
Subject: JESS: Listening to
JessEvents
Hi,
I am trying to setup my code to get notification
of jess events. I have a java class which implements the
JessListener interface, and using the Rete.addJessListener() I
add this class to the rete engine. I have a debug statement in the
eventHappend() method. However I do not see any Events firing, when I do a
defInstance or assert a fact, which should cause my debug message to
print out. Are there any known bug in regard to this functionality? Is this
working for anyone else? or have I missed something in implementing of this
functionality. By the way I have also used the Rete.listJessListeners() to
make sure my listener has been added. I have tried this with Jess 6.0 and
6.1a1.
Thanks,
Shawn Arvin
|