#include <EventConsumerRegistrationInfo.h>
Public Member Functions | |
virtual void | do_appendToPSet (edm::ParameterSet &) const |
virtual void | do_eventType (std::ostream &) const |
virtual void | do_registerMe (EventDistributor *) |
uint32 | eventCode () const |
EventConsumerRegistrationInfo (const edm::ParameterSet &pset, const EventServingParams &eventServingParams, const std::string &remoteHost=toolbox::net::getHostName()) | |
EventConsumerRegistrationInfo (const edm::ParameterSet &pset, const std::string &remoteHost=toolbox::net::getHostName()) | |
uint32 | eventRequestCode () const |
const Strings & | eventSelection () const |
std::string | eventURL () const |
const int & | headerRetryInterval () const |
bool | operator!= (const EventConsumerRegistrationInfo &) const |
bool | operator< (const EventConsumerRegistrationInfo &) const |
bool | operator== (const EventConsumerRegistrationInfo &) const |
const std::string & | outputModuleLabel () const |
const int & | prescale () const |
std::string | registerURL () const |
const std::string & | triggerSelection () const |
const bool & | uniqueEvents () const |
std::ostream & | write (std::ostream &os) const |
~EventConsumerRegistrationInfo () | |
Public Member Functions inherited from stor::RegistrationInfoBase | |
const int & | connectTrySleepTime () const |
void | consumerContact () |
const ConsumerID & | consumerId () const |
const std::string & | consumerName () const |
void | eventType (std::ostream &) const |
edm::ParameterSet | getPSet () const |
bool | isStale (const utils::TimePoint_t &) const |
bool | isValid () const |
double | lastContactSecondsAgo (const utils::TimePoint_t &) const |
const int & | maxConnectTries () const |
const utils::Duration_t & | minEventRequestInterval () const |
virtual bool | operator!= (const RegistrationInfoBase &) const |
virtual bool | operator< (const RegistrationInfoBase &) const |
virtual bool | operator== (const RegistrationInfoBase &) const |
const QueueID & | queueId () const |
void | queueInfo (std::ostream &) const |
const enquing_policy::PolicyTag & | queuePolicy () const |
const int & | queueSize () const |
void | registerMe (EventDistributor *dist) |
RegistrationInfoBase (const std::string &consumerName, const std::string &remoteHost, const int &queueSize, const enquing_policy::PolicyTag &queuePolicy, const utils::Duration_t &secondsToStale) | |
RegistrationInfoBase (const edm::ParameterSet &pset, const std::string &remoteHost, const EventServingParams &eventServingParams, const bool useEventServingParams) | |
const std::string & | remoteHost () const |
const int & | retryInterval () const |
const utils::Duration_t & | secondsToStale () const |
void | setConsumerId (const ConsumerID &id) |
void | setMinEventRequestInterval (const utils::Duration_t &interval) |
void | setQueueId (const QueueID &id) |
void | setSourceURL (const std::string &url) |
const std::string & | sourceURL () const |
virtual | ~RegistrationInfoBase () |
Private Member Functions | |
void | parsePSet (const edm::ParameterSet &) |
Private Attributes | |
Strings | eventSelection_ |
int | headerRetryInterval_ |
std::string | outputModuleLabel_ |
int | prescale_ |
std::string | triggerSelection_ |
bool | uniqueEvents_ |
Additional Inherited Members |
Holds the registration information from a event consumer.
Definition at line 34 of file EventConsumerRegistrationInfo.h.
stor::EventConsumerRegistrationInfo::EventConsumerRegistrationInfo | ( | const edm::ParameterSet & | pset, |
const EventServingParams & | eventServingParams, | ||
const std::string & | remoteHost = toolbox::net::getHostName() |
||
) |
Definition at line 17 of file EventConsumerRegistrationInfo.cc.
stor::EventConsumerRegistrationInfo::EventConsumerRegistrationInfo | ( | const edm::ParameterSet & | pset, |
const std::string & | remoteHost = toolbox::net::getHostName() |
||
) |
Definition at line 28 of file EventConsumerRegistrationInfo.cc.
|
inline |
Definition at line 54 of file EventConsumerRegistrationInfo.h.
|
virtual |
Implements stor::RegistrationInfoBase.
Definition at line 73 of file EventConsumerRegistrationInfo.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::addUntrackedParameter(), eventSelection_, headerRetryInterval_, outputModuleLabel_, prescale_, AlCaHLTBitMon_QueryRunRegistry::string, triggerSelection_, and uniqueEvents_.
|
virtual |
Implements stor::RegistrationInfoBase.
Definition at line 92 of file EventConsumerRegistrationInfo.cc.
References filterCSVwithJSON::copy, eventSelection_, outputModuleLabel_, prescale_, stor::RegistrationInfoBase::queueInfo(), triggerSelection_, and uniqueEvents_.
|
virtual |
Implements stor::RegistrationInfoBase.
Definition at line 86 of file EventConsumerRegistrationInfo.cc.
References stor::EventDistributor::registerEventConsumer().
|
inline |
Definition at line 64 of file EventConsumerRegistrationInfo.h.
References Header::EVENT.
|
inline |
Definition at line 63 of file EventConsumerRegistrationInfo.h.
References Header::EVENT_REQUEST.
|
inline |
Definition at line 58 of file EventConsumerRegistrationInfo.h.
References eventSelection_.
Referenced by operator<(), and operator==().
|
inline |
Definition at line 65 of file EventConsumerRegistrationInfo.h.
References stor::RegistrationInfoBase::sourceURL().
|
inline |
Definition at line 62 of file EventConsumerRegistrationInfo.h.
References headerRetryInterval_.
bool stor::EventConsumerRegistrationInfo::operator!= | ( | const EventConsumerRegistrationInfo & | other | ) | const |
Definition at line 149 of file EventConsumerRegistrationInfo.cc.
bool stor::EventConsumerRegistrationInfo::operator< | ( | const EventConsumerRegistrationInfo & | other | ) | const |
Definition at line 120 of file EventConsumerRegistrationInfo.cc.
References eventSelection(), stor::RegistrationInfoBase::operator<(), outputModuleLabel(), prescale(), triggerSelection(), and uniqueEvents().
bool stor::EventConsumerRegistrationInfo::operator== | ( | const EventConsumerRegistrationInfo & | other | ) | const |
Definition at line 136 of file EventConsumerRegistrationInfo.cc.
References eventSelection(), stor::RegistrationInfoBase::operator==(), outputModuleLabel(), prescale(), triggerSelection(), and uniqueEvents().
|
inline |
Definition at line 59 of file EventConsumerRegistrationInfo.h.
References outputModuleLabel_.
Referenced by operator<(), and operator==().
|
private |
Definition at line 38 of file EventConsumerRegistrationInfo.cc.
References alignCSCRings::e, edm::ParameterSet::empty(), eventSelection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), headerRetryInterval_, outputModuleLabel_, prescale_, AlCaHLTBitMon_QueryRunRegistry::string, triggerSelection_, and uniqueEvents_.
|
inline |
Definition at line 60 of file EventConsumerRegistrationInfo.h.
References prescale_.
Referenced by operator<(), and operator==().
|
inline |
Definition at line 66 of file EventConsumerRegistrationInfo.h.
References stor::RegistrationInfoBase::sourceURL().
|
inline |
Definition at line 57 of file EventConsumerRegistrationInfo.h.
References triggerSelection_.
Referenced by operator<(), and operator==().
|
inline |
Definition at line 61 of file EventConsumerRegistrationInfo.h.
References uniqueEvents_.
Referenced by operator<(), and operator==().
std::ostream& stor::EventConsumerRegistrationInfo::write | ( | std::ostream & | os | ) | const |
Referenced by pkg.AbstractPkg::generate().
|
private |
Definition at line 86 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), do_eventType(), eventSelection(), and parsePSet().
|
private |
Definition at line 90 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), headerRetryInterval(), and parsePSet().
|
private |
Definition at line 87 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), do_eventType(), outputModuleLabel(), and parsePSet().
|
private |
Definition at line 88 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), do_eventType(), parsePSet(), and prescale().
|
private |
Definition at line 85 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), do_eventType(), parsePSet(), and triggerSelection().
|
private |
Definition at line 89 of file EventConsumerRegistrationInfo.h.
Referenced by do_appendToPSet(), do_eventType(), parsePSet(), and uniqueEvents().