Public Member Functions | List of all members
gov::fnal::cd::rms::RmsMessageListener Class Referenceabstract

#include "/cvmfs/"

Public Member Functions

virtual ~RmsMessageListener ()
virtual void messageReceived (boost::shared_ptr< base::RmsMessage > theMessage)=0

Detailed Description

This Interface defines the interface used by message listeners in RMS. A message listener is an object that is notified asynchronously when messages arrive (similar to a callback in C).

Kurt Biery
Steve Foulkes
2019/09/27 00:07:31

Definition at line 26 of file RmsMessageListener.h.

Constructor & Destructor Documentation

virtual gov::fnal::cd::rms::RmsMessageListener::~RmsMessageListener ( )

Destructor (declared virtual to ensure that derived class destructors are always called).

Definition at line 33 of file RmsMessageListener.h.

References messageReceived().

33 {}

Member Function Documentation

virtual void gov::fnal::cd::rms::RmsMessageListener::messageReceived ( boost::shared_ptr< base::RmsMessage >  theMessage)
pure virtual

Passes the specified message to the listener.

theMessageThe message that was received by a consumer or producer and is now being passed to the listener.

Referenced by gov::fnal::cd::rms::ClientListenerLoop::run(), and ~RmsMessageListener().

The documentation for this class was generated from the following file: