The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


These callbacks are common to all Handler types.

 

method              usage   usage

...

onStart               Called immediately before the handler becomes active in the

                           MFClient.run() event loop.
onStop Called                Called when the session is being removed from processing in the event loop.
onConnect Called          Called when the session establishes a socket connection.
onDisconnect Called      Called when the session socket disconnects.

...

 


Table 3.1. – methods common to both session types