public interface BusMessageForwarder<T extends BusMessage>
Typically a code implementing this contract will consider which is the actual subclass of BusMessage which is used in the update and forward it to the appropriate listeners. But there could also be different forwarders for different bus.
these implementations can also tag the context of the thread dealing with this message with correlation data.
It is thus of utmost importance to consider that each transport layer that calls update waits for the completion of the Listener code or calls other updates in a different thread.
this class is part of version 2 of the communication framework
| Modifier and Type | Method and Description |
|---|---|
void |
update(T message) |
void update(T message)
Copyright © 2021 LSST. All rights reserved.