public interface Handler
Classes that are interested in monitoring cluster messages implement this interface
must register an instance of themselves (the handler) with the Connector
,
using the registerHandler
method.
When a message is received the handler object's handle method is invoked.
There is no current user, no current locale.
The handler itself is responsible for the intended transactional behaviour, but
if a transaction is obtained during handle, it will be comitted immediately after
the call to handle(Message)
(or rollbacked if an exception occurred).
void handle(Message m)
m
- the received Message@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.