addHandler

Adds a new handler to the internal list of message handlers.

Parameters

handler

The handler to add.