Package proton :: Module handlers :: Class TransactionalClientHandler
[frames] | no frames]

Class TransactionalClientHandler

source code


An extension to the MessagingHandler for applications using transactions.

Instance Methods
 
__init__(self, prefetch=10, auto_accept=False, auto_settle=True, peer_close_is_error=False) source code
 
accept(self, delivery, transaction=None)
Accepts a received message.
source code

Inherited from MessagingHandler: on_accepted, on_connection_closed, on_connection_closing, on_connection_error, on_disconnected, on_link_closed, on_link_closing, on_link_error, on_message, on_reactor_init, on_rejected, on_released, on_sendable, on_session_closed, on_session_closing, on_session_error, on_settled, on_start, on_transport_error

Inherited from Handler: on_unhandled

Inherited from Acking: reject, release, settle

Inherited from TransactionHandler: on_transaction_aborted, on_transaction_commit_failed, on_transaction_committed, on_transaction_declare_failed, on_transaction_declared

Class Variables

Inherited from Handler: handlers

Method Details

__init__(self, prefetch=10, auto_accept=False, auto_settle=True, peer_close_is_error=False)
(Constructor)

source code 
Overrides: MessagingHandler.__init__

accept(self, delivery, transaction=None)

source code 

Accepts a received message.

Overrides: Acking.accept
(inherited documentation)