org.lsst.ccs.bus
Interface BusMessageForwarder

All Known Implementing Classes:
BusApplicationLayer.ForwarderToCommand, BusApplicationLayer.ForwarderToLog, BusApplicationLayer.ForwarderToStatus

public interface BusMessageForwarder

A BusMessageForwarder receives a BusMessage from the transport layer and passes it to registered MessageListener.

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


Method Summary
 void update(org.lsst.ccs.bus.BusMessage message)
           
 

Method Detail

update

void update(org.lsst.ccs.bus.BusMessage message)


Copyright © 2013 LSST. All Rights Reserved.