public class JIPEvent extends Object
JIPEventListener
,
JIPEventListener.openNotified(com.ugos.jiprolog.engine.JIPEvent)
,
JIPEventListener.closeNotified(com.ugos.jiprolog.engine.JIPEvent)
,
JIPEventListener.moreNotified(com.ugos.jiprolog.engine.JIPEvent)
,
JIPEventListener.endNotified(com.ugos.jiprolog.engine.JIPEvent)
,
JIPEventListener.solutionNotified(com.ugos.jiprolog.engine.JIPEvent)
,
JIPEventListener.termNotified(com.ugos.jiprolog.engine.JIPEvent)
Modifier and Type | Field and Description |
---|---|
static int |
ID_CLOSE
ID of a Close Event
|
static int |
ID_ENCODINGCHANGED
ID of a encoding changed Event
|
static int |
ID_END
ID of a End Event
|
static int |
ID_MORE
ID of a More Event
|
static int |
ID_OPEN
ID of an Open Event
|
static int |
ID_SINGLETONVARS
ID of a Sigleton Variables Found Event
|
static int |
ID_SOLUTION
ID of a Solution Event
|
static int |
ID_UNDEFPREDICATE
ID of a Undefined predicate Event
|
static int |
ID_USERINPUTDONE
ID of a WaitForUserInput Event
|
static int |
ID_WAITFORUSERINPUT
ID of a WaitForUserInput Event
|
Modifier and Type | Method and Description |
---|---|
void |
consume()
Consumes this JIPEvent object so other JIPEventListeners don't receive it
|
int |
getID()
Gets the ID of this JIPEvent object
|
int |
getQueryHandle()
Gets the handle of the query related to this JIPEvent object
|
JIPEngine |
getSource()
Gets the source of this JIPEvent object
|
JIPTerm |
getTerm()
Gets the notified term
|
long |
when()
Timestamp of this JIPEvent object
|
public static final int ID_SOLUTION
public static final int ID_OPEN
public static final int ID_CLOSE
public static final int ID_END
public static final int ID_MORE
public static final int ID_WAITFORUSERINPUT
public static final int ID_USERINPUTDONE
public static final int ID_UNDEFPREDICATE
public static final int ID_SINGLETONVARS
public static final int ID_ENCODINGCHANGED
public int getID()
public int getQueryHandle()
public long when()
public JIPEngine getSource()
JIPEngine
public JIPTerm getTerm()
JIPTerm
public void consume()