Package proton :: Module _tracing :: Class IncomingMessageHandler
[frames] | no frames]

Class IncomingMessageHandler

source code


Instance Methods
 
on_message(self, event)
Called when a message is received.
source code

Inherited from _handlers.IncomingMessageHandler: __init__, on_aborted, on_delivery, on_settled

Inherited from _events.Handler: add, handlers, on_unhandled

Inherited from _handlers.Acking: accept, reject, release, settle

Method Details

on_message(self, event)

source code 

Called when a message is received. The message itself can be obtained as a property on the event. For the purpose of referring to this message in further actions (e.g. if explicitly accepting it, the ``delivery`` should be used, also obtainable via a property on the event.

Overrides: _handlers.IncomingMessageHandler.on_message
(inherited documentation)