com.ugos.JIProlog.engine
Interface JIPEventListener


public interface JIPEventListener

JIPEventListeners are notified when an interpreter event has occured during execution.
Interpreter events are OPEN, CLOSE, SOLUTION, MORE, END, TERM, ERROR They are notified in the related methods.

Version:
2.0
Author:
Ugo Chirico 2002
Home Page: http://www.ugosweb.com/jiprolog
See Also:
JIPEvent

Method Summary
 void closeNotified(JIPEvent e)
          Notifies a Close event
 void endNotified(JIPEvent e)
          Notifies an End event
 void errorNotified(JIPErrorEvent e)
          Receives an error event
 void moreNotified(JIPEvent e)
          Notifies a More event
 void openNotified(JIPEvent e)
          Notifies an Open event
 void solutionNotified(JIPEvent e)
          Notifies a Solution event
 void termNotified(JIPEvent e)
          Notifies a Term event.
 

Method Detail

solutionNotified

public void solutionNotified(JIPEvent e)
Notifies a Solution event

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

termNotified

public void termNotified(JIPEvent e)
Notifies a Term event.
This event can be generated by notify/2

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

openNotified

public void openNotified(JIPEvent e)
Notifies an Open event

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

moreNotified

public void moreNotified(JIPEvent e)
Notifies a More event

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

endNotified

public void endNotified(JIPEvent e)
Notifies an End event

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

closeNotified

public void closeNotified(JIPEvent e)
Notifies a Close event

Parameters:
e - JIPEvent occurred
See Also:
JIPEvent

errorNotified

public void errorNotified(JIPErrorEvent e)
Receives an error event

Parameters:
e - JIPErrorEvent object representing the error occurred
See Also:
JIPErrorEvent