The Lab

Versions Compared

Key

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

In order to terminate a running dispatcher loop, the Customer Application should call MFClient.stop(). The corresponding run() invocation will exit with the appropriate status code. A stopped client is still connected, and as described in the preceding section, it is possible to call run() to resume dispatching events. To disconnect from the Whisperer server, the Customer Application should call MFClient.close().

 

Info
titleNote

MFClient.close() may only be called when the MFClient is not dispatching events.