com.ibm.eNetwork.ECL.event Interface ECLPSListener

  PREV CLASS     NEXT CLASS FRAMES     NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR |  METHOD DETAIL:  FIELD | CONSTR |  METHOD
public interface ECLPSListener

The ECLPSListener interface can be used to implement an object which will receive ECLPSEvents. Events are generated whenever the presentation space is updated. The presentation space can be updated by the host (when a new screen is sent) or through keyboard input. Special events are generated when event generation stops and when errors occur during event generation.

ECLPSListeners can be registered for either host, user, or all event types. Host events are generated as a result of host driven presentation space changes. User events are generated as a result of user input via ECLPS methods, like SendKeys().

To be notified of PS events, the application must:

See Also:
ECLPS.RegisterPSEvent(com.ibm.eNetwork.ECL.event.ECLPSListener) , ECLPSEvent

Method Summary
 void PSNotifyError ( ECLPS ps, ECLErr err)           The PSNotifyError() method is called whenever the ECLPS object detects an error during event generation.
 void PSNotifyEvent ( ECLPSEvent evt)           The PSNotifyEvent() method is called whenever the presentation space is updated.
 void PSNotifyStop ( ECLPS ps, int reason)           The PSNotifyStop() method is called when event generation is stopped for any reason.

 

Method Detail

PSNotifyEvent



public void 
PSNotifyEvent(
ECLPSEvent evt)

PSNotifyStop



public void 
PSNotifyStop(
ECLPS ps,
                         int reason)

PSNotifyError



public void 
PSNotifyError(
ECLPS ps,
                          
ECLErr err)

  PREV CLASS     NEXT CLASS FRAMES     NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR |  METHOD DETAIL:  FIELD | CONSTR |  METHOD