All Packages Class Hierarchy This Package Previous Next Index
Class JIP.engine.JIPEvent
java.lang.Object
|
+----JIP.engine.JIPEvent
- public class JIPEvent
- extends Object
JIPEvent is used when a prolog event occurred during the computation
The EventListener receive a JIPEvent object in one of its metod dependig on the type of event
- Version:
- 4.x.x
- Author:
- Ugo Chirico 2000
Home Page : http:\\www.geocities.com\jiprolog
- See Also:
- JIPEventListener, openNotified, closeNotified, moreNotified, endNotified, solutionNotified, termNotified
-
ID_CLOSE
-
The ID of a Start Event
-
ID_END
-
The ID of a End Event
-
ID_MORE
-
The ID of a More Event
-
ID_OPEN
-
The ID of a Start Event
-
ID_SOLUTION
-
The ID of a Solution Event
-
consume()
-
Consume the event so other eventually listener doesn't receive the event
-
getID()
-
Get the ID of the event
-
getQueryHandle()
-
Get the handle of the query related to the event
-
getSource()
-
Get the source of the event
-
getTerm()
-
Get the term notified
-
when()
-
Timestamp of the event
ID_SOLUTION
public static final int ID_SOLUTION
- The ID of a Solution Event
ID_OPEN
public static final int ID_OPEN
- The ID of a Start Event
ID_CLOSE
public static final int ID_CLOSE
- The ID of a Start Event
ID_END
public static final int ID_END
- The ID of a End Event
ID_MORE
public static final int ID_MORE
- The ID of a More Event
getID
public int getID()
- Get the ID of the event
getQueryHandle
public int getQueryHandle()
- Get the handle of the query related to the event
when
public long when()
- Timestamp of the event
getSource
public JIPEngine getSource()
- Get the source of the event
getTerm
public JIPTerm getTerm()
- Get the term notified
consume
public void consume()
- Consume the event so other eventually listener doesn't receive the event
All Packages Class Hierarchy This Package Previous Next Index