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 4.2. – methods common to both session types