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).
Modifier and Type | Method and Description |
---|---|
void |
handle(Message m)
Invoked when a cluster message has been received.
|
void handle(Message m)
m
- the received Message@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.