The Lab

Versions Compared

Key

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


These callbacks are common to all Handler types. methodusage

 

method              usage

...

 

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


Table 3.1. – methods common to both session types