#include <EventRetriever.h>
Public Types | |
typedef boost::shared_ptr < RegInfo > | RegInfoPtr |
Public Member Functions | |
void | addConsumer (const RegInfoPtr) |
EventRetriever (StateMachine *, const RegInfoPtr) | |
size_t | getConnectedSMCount () const |
const stor::QueueIDs & | getQueueIDs () const |
void | stop () |
~EventRetriever () | |
Private Types | |
typedef std::vector< ConnectionID > | ConnectionIDs |
typedef stor::EventServerProxy < RegInfo > | EventServer |
typedef boost::shared_ptr < EventServer > | EventServerPtr |
typedef std::map< ConnectionID, EventServerPtr > | EventServers |
Private Member Functions | |
void | activity (const edm::ParameterSet &) |
bool | adjustMinEventRequestInterval (const stor::utils::Duration_t &) |
bool | anyActiveConsumers (QueueCollectionPtr) const |
bool | connect (const edm::ParameterSet &) |
void | connectToSM (const std::string &sourceURL, const edm::ParameterSet &) |
void | disconnectFromCurrentSM () |
void | do_stop () |
void | doIt (const edm::ParameterSet &) |
EventRetriever (EventRetriever const &) | |
void | getInitMsg () |
bool | getNextEvent (stor::CurlInterface::Content &) |
bool | openConnection (const ConnectionID &, const RegInfoPtr) |
EventRetriever & | operator= (EventRetriever const &) |
void | processCompletedTopLevelFolders () |
bool | tryToReconnect () |
void | updateConsumersSetting (const stor::utils::Duration_t &) |
Private Attributes | |
ConnectionIDs | connectionIDs_ |
boost::mutex | connectionIDsLock_ |
DataRetrieverMonitorCollection & | dataRetrieverMonitorCollection_ |
const DataRetrieverParams | dataRetrieverParams_ |
stor::DQMEventStore < DQMEventMsg, EventRetriever < RegInfo, QueueCollectionPtr > , StateMachine > | dqmEventStore_ |
EventServers | eventServers_ |
size_t | instance_ |
stor::utils::Duration_t | minEventRequestInterval_ |
stor::utils::TimePoint_t | nextReconnectTry_ |
stor::utils::TimePoint_t | nextRequestTime_ |
EventServers::iterator | nextSMtoUse_ |
stor::QueueIDs | queueIDs_ |
boost::mutex | queueIDsLock_ |
StateMachine * | stateMachine_ |
boost::scoped_ptr< boost::thread > | thread_ |
Static Private Attributes | |
static size_t | retrieverCount_ |
Retrieve events from the event server
Definition at line 42 of file EventRetriever.h.
|
private |
Definition at line 117 of file EventRetriever.h.
|
private |
Definition at line 111 of file EventRetriever.h.
|
private |
Definition at line 112 of file EventRetriever.h.
|
private |
Definition at line 113 of file EventRetriever.h.
typedef boost::shared_ptr<RegInfo> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::RegInfoPtr |
Definition at line 46 of file EventRetriever.h.
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventRetriever | ( | StateMachine * | , |
const RegInfoPtr | |||
) |
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::~EventRetriever | ( | ) |
|
private |
|
private |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::addConsumer | ( | const RegInfoPtr | ) |
Add a consumer
|
private |
|
private |
|
private |
Referenced by python.Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), python.Vispa.Views.PropertyView.BooleanProperty::__init__(), python.Vispa.Gui.FindDialog.FindDialog::_addScript(), python.Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), python.Vispa.Main.Application.Application::_connectSignals(), python.Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), python.Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), python.Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), python.Vispa.Views.PropertyView.PropertyView::append(), python.Vispa.Views.PropertyView.PropertyView::appendAddRow(), python.Vispa.Main.Application.Application::createAction(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), python.Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), python.Vispa.Views.PropertyView.BooleanProperty::setChecked(), python.Vispa.Main.SplitterTab.SplitterTab::setController(), python.Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), python.Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), python.Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), python.Vispa.Views.PropertyView.IntegerProperty::setValue(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), python.Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
|
private |
|
private |
|
private |
|
private |
|
inline |
Return the number of active connections to SMs
Definition at line 75 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::eventServers_.
|
private |
|
private |
|
inline |
Return the list of QueueIDs attached to the EventRetriever
Definition at line 69 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::queueIDs_.
|
private |
|
private |
|
private |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::stop | ( | ) |
Stop retrieving events
|
private |
|
private |
|
private |
Definition at line 118 of file EventRetriever.h.
|
mutableprivate |
Definition at line 119 of file EventRetriever.h.
|
private |
Definition at line 102 of file EventRetriever.h.
|
private |
Definition at line 101 of file EventRetriever.h.
|
private |
Definition at line 129 of file EventRetriever.h.
|
private |
Definition at line 114 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getConnectedSMCount().
|
private |
Definition at line 109 of file EventRetriever.h.
|
private |
Definition at line 105 of file EventRetriever.h.
|
private |
Definition at line 121 of file EventRetriever.h.
|
private |
Definition at line 104 of file EventRetriever.h.
|
private |
Definition at line 115 of file EventRetriever.h.
|
private |
Definition at line 123 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getQueueIDs().
|
mutableprivate |
Definition at line 124 of file EventRetriever.h.
|
staticprivate |
Definition at line 108 of file EventRetriever.h.
|
private |
Definition at line 100 of file EventRetriever.h.
|
private |
Definition at line 107 of file EventRetriever.h.