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

Variable Index

 o ID_CLOSE
The ID of a Start Event
 o ID_END
The ID of a End Event
 o ID_MORE
The ID of a More Event
 o ID_OPEN
The ID of a Start Event
 o ID_SOLUTION
The ID of a Solution Event

Method Index

 o consume()
Consume the event so other eventually listener doesn't receive the event
 o getID()
Get the ID of the event
 o getQueryHandle()
Get the handle of the query related to the event
 o getSource()
Get the source of the event
 o getTerm()
Get the term notified
 o when()
Timestamp of the event

Variables

 o ID_SOLUTION
 public static final int ID_SOLUTION
The ID of a Solution Event

 o ID_OPEN
 public static final int ID_OPEN
The ID of a Start Event

 o ID_CLOSE
 public static final int ID_CLOSE
The ID of a Start Event

 o ID_END
 public static final int ID_END
The ID of a End Event

 o ID_MORE
 public static final int ID_MORE
The ID of a More Event

Methods

 o getID
 public int getID()
Get the ID of the event

 o getQueryHandle
 public int getQueryHandle()
Get the handle of the query related to the event

 o when
 public long when()
Timestamp of the event

 o getSource
 public JIPEngine getSource()
Get the source of the event

 o getTerm
 public JIPTerm getTerm()
Get the term notified

 o 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