This interface describes a service which may be applied to incoming messages. The service is responsible for determining whether the message is one that it should process and rejecting it if it is not. Services may be chained.
Configuration object that may contain more info on the service
Process an incoming message.
- message: message to be processed
- listener: listener to which to report results
- True if the message will be handled, false if it should be given to some other service or fail. In case of failure, a more detailed status will be recorded in the message.
This interface is passed as an argument to the following methods:
Reference documentation is generated from Mozilla's source.