|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Listens on state change events and notifies interested parties of events by printing event information into the specified print stream. For example:
EbiPrintStateChangeListener listener = com.sssw.fw.event.factory.EboFactory.getPrintStateChangeListener();
PrintStream ps = new PrintStream(mybuffer);
listener.setPrintStream(ps);
listener.setPreamble("The following event has occurred:");
EbiStateChangeProducer producer = com.sssw.fw.event.factory.getStateChangeProducer();
producer.addStateChangeListener(listener);
| Method Summary | |
String |
getPreamble()
Gets any preamble message to print before the verbose description of the event. |
PrintStream |
getPrintStream()
Gets the print stream to print event notifications to. |
void |
setPreamble(String preamble)
Sets any preamble message to print before the verbose description of the event. |
void |
setPrintStream(PrintStream ps)
Sets the print stream to print event notifications to. |
| Methods implemented from interface com.sssw.fw.event.api.EbiStateChangeListener |
stateChanged |
| Methods implemented from interface com.sssw.fw.event.api.EbiEventListener |
getListenerDescription,
getLog,
setListenerDescription,
setLog |
| Method Detail |
public void setPrintStream(PrintStream ps)
ps - the print stream to print event notifications topublic PrintStream getPrintStream()
public void setPreamble(String preamble)
preamble - any preamble messagepublic String getPreamble()
|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||