infosapient.control
Class InfoSapientServletController

java.lang.Object
  |
  +--infosapient.system.ObservableImpl
        |
        +--infosapient.control.InfoSapientController
              |
              +--infosapient.control.InfoSapientServletController

public class InfoSapientServletController
extends InfoSapientController

A specialization of InfoSapientController to deal with the idiosyncrasies of servlets. Creation date: (2/10/00 12:52:19 PM)

Version:
$Revision: 1.1.1.1 $
License to use this program is provided under the COMMON PUBLIC LICENSE 0.5 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
See Also:
Serialized Form

Field Summary
private  boolean debug
           
private  boolean errorEncountered
           
private  java.io.PrintWriter out
           
 
Fields inherited from class infosapient.control.InfoSapientController
chgsOutstanding, corrMethod, currentAttribute, currentRule, currentSet, date, ERRORMsgs, inferMethod, kbFileName, Log, logErrors, resEngine, runParameters, runTimeEvent, runTimeOnly, theKB
 
Fields inherited from class infosapient.system.ObservableImpl
arr, changed, obs, serialVersionUID
 
Constructor Summary
InfoSapientServletController(java.io.PrintWriter pout)
          BlackMesaServletController constructor comment.
InfoSapientServletController(java.lang.String name, java.io.PrintWriter pout)
          BlackMesaServletController constructor comment.
 
Method Summary
 java.io.PrintWriter getOut()
          Insert the method's description here.
 boolean isErrorEncountered()
          Returns true if the listener has received an error event.
 void setErrorEncountered(boolean newErrorEncountered)
          Sets the error-encountered flag.
 void setOut(java.io.PrintWriter newOut)
          Insert the method's description here.
 void update(Observable obser, java.lang.Object obj)
          Receives the notification of an event and acts on it.
 
Methods inherited from class infosapient.control.InfoSapientController
, addAttribute, addRule, execute, getAttribute, getChgsOutstanding, getKB, getRule, getStackTrace, handleAskPrompt, handleFSEvent, log, newKB, openErrorDialog, openErrorDialog, processDeleteKB, processExit, processForAttrEd, processForHelp, processForInferControl, processForInferEd, processForRuleEd, processForSetEd, readKB, setAttribute, setChgsOutstanding, setKB, setRule, verifyDeleteKB, writeKB
 
Methods inherited from class infosapient.system.ObservableImpl
addObserver, clearChanged, containsObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

out

private java.io.PrintWriter out

debug

private boolean debug

errorEncountered

private boolean errorEncountered
Constructor Detail

InfoSapientServletController

public InfoSapientServletController(java.io.PrintWriter pout)
BlackMesaServletController constructor comment.
Parameters:
java.io.PrintWriter - - the printWriter to be used for message notification.

InfoSapientServletController

public InfoSapientServletController(java.lang.String name,
                                    java.io.PrintWriter pout)
BlackMesaServletController constructor comment.
Parameters:
String - - the name of the knowledgebase file to be read.
java.io.PrintWriter - - the printWriter to be used for message notification.
Method Detail

getOut

public java.io.PrintWriter getOut()
Insert the method's description here. Creation date: (2/10/00 12:58:56 PM)
Returns:
java.io.PrintWriter

isErrorEncountered

public boolean isErrorEncountered()
Returns true if the listener has received an error event. Creation date: (1/20/00 4:14:29 PM)
Returns:
boolean

setErrorEncountered

public void setErrorEncountered(boolean newErrorEncountered)
Sets the error-encountered flag. Creation date: (1/20/00 4:14:29 PM)
Parameters:
newErrorEncountered - boolean

setOut

public void setOut(java.io.PrintWriter newOut)
Insert the method's description here. Creation date: (2/10/00 12:58:56 PM)
Parameters:
newOut - java.io.PrintWriter

update

public void update(Observable obser,
                   java.lang.Object obj)
Receives the notification of an event and acts on it. Overrides update in BlackMesaController Creation date: ( 2/10/00 12:30:27 PM)
Overrides:
update in class InfoSapientController
Parameters:
obser - The object sending the event.
obj - The notification being sent.

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved