com.ibm.eNetwork.ECL Interface ECLCommNotify

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

ECLCommNotify can be used to implement an object which will receive and handle ECLConnection events. Events are generated whenever the connection status of a session changes. The connection status is either true (connected) or false (not connected). Special events are generated when event generation stops and when errors occur during event generation.

To be notified of communication events, the application must perform the following steps:

See Also:
ECLConnection

Method Summary
 void NotifyError ( ECLConnection connection, ECLErr e)           The NotifyError() method is called whenever the ECLConnection object detects an error during event generation.
 void NotifyEvent ( ECLConnection connection, boolean connected)           The NotifyEvent() method is called whenever the connection status changes.
 void NotifyStop ( ECLConnection connection, int reason)           The NotifyStop() method is called when event generation is stopped for any reason.

 

Method Detail

NotifyEvent



public void 
NotifyEvent(
ECLConnection connection,
                        boolean connected)

NotifyStop



public void 
NotifyStop(
ECLConnection connection,
                       int reason)

NotifyError



public void 
NotifyError(
ECLConnection connection,
                        
ECLErr e)

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