Public Member Functions | List of all members
gov::fnal::cd::rms::MessageFilter Class Reference

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

Inheritance diagram for gov::fnal::cd::rms::MessageFilter:
gov::fnal::cd::rms::RmsConsumer gov::fnal::cd::rms::RmsProducer

Public Member Functions

virtual ~MessageFilter ()
 
virtual bool verify (boost::shared_ptr< base::RmsMessage > message)
 

Detailed Description

This interface is implemented by the Producer and Consumer classes. The result of the verify method is used to determine if a message is relevant to a particular Consumer or Producer.

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 MessageFilter.h.

Constructor & Destructor Documentation

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

Virtual destructor to quiet compiler warnings.

Definition at line 32 of file MessageFilter.h.

32  {
33  return;
34  }

Member Function Documentation

virtual bool gov::fnal::cd::rms::MessageFilter::verify ( boost::shared_ptr< base::RmsMessage >  message)
inlinevirtual

Given an RmsMessage, verify that it matches the filter.

Parameters
messageThe message received from the provider
Returns
True if the message matches the filter, false otherwise.

Reimplemented in gov::fnal::cd::rms::RmsConsumer, and gov::fnal::cd::rms::RmsProducer.

Definition at line 43 of file MessageFilter.h.

Referenced by gov::fnal::cd::rms::ClientListenerLoop::run().

43  {
44  return false;
45  }

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