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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-04-18/rms/cxx/include/RmsMessageListener.h"

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).

Author
Kurt Biery
Steve Foulkes
Version
Revision
1.1.1.1.18.1
Date
2019/09/27 00:07:31

Definition at line 26 of file RmsMessageListener.h.

Constructor & Destructor Documentation

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

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.

Parameters
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: