#include <SMProxyServer.h>
Public Member Functions | |
SMProxyServer (xdaq::ApplicationStub *s) | |
Private Types | |
typedef stor::ConsumerUtils < Configuration, EventQueueCollection > | ConsumerUtils_t |
Private Member Functions | |
void | bindConsumerCallbacks () |
void | bindStateMachineCallbacks () |
void | bindWebInterfaceCallbacks () |
void | consumerStatisticsWebPage (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | css (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
void | dataRetrieverWebPage (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | defaultWebPage (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
void | dqmEventStatisticsWebPage (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
xoap::MessageReference | handleFSMSoapMessage (xoap::MessageReference) throw ( xoap::exception::Exception ) |
void | initializeSharedResources () |
SMProxyServer & | operator= (SMProxyServer const &) |
void | processConsumerEventRequest (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | processConsumerHeaderRequest (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | processConsumerRegistrationRequest (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | processDQMConsumerEventRequest (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
void | processDQMConsumerRegistrationRequest (xgi::Input *in, xgi::Output *out) throw ( xgi::exception::Exception ) |
SMProxyServer (SMProxyServer const &) | |
void | startWorkerThreads () |
Private Attributes | |
boost::scoped_ptr < ConsumerUtils_t > | consumerUtils_ |
boost::scoped_ptr < SMPSWebPageHelper > | smpsWebPageHelper_ |
StateMachinePtr | stateMachine_ |
Main class of the SMProxyServer XDAQ application
Definition at line 31 of file SMProxyServer.h.
|
private |
Definition at line 140 of file SMProxyServer.h.
SMProxyServer::SMProxyServer | ( | xdaq::ApplicationStub * | s | ) |
Definition at line 24 of file SMProxyServer.cc.
References bindConsumerCallbacks(), bindStateMachineCallbacks(), bindWebInterfaceCallbacks(), alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, initializeSharedResources(), startWorkerThreads(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
private |
Bind callbacks for consumers
Definition at line 87 of file SMProxyServer.cc.
References processConsumerEventRequest(), processConsumerHeaderRequest(), processConsumerRegistrationRequest(), processDQMConsumerEventRequest(), and processDQMConsumerRegistrationRequest().
Referenced by SMProxyServer().
|
private |
Bind callbacks for state machine SOAP messages
Definition at line 56 of file SMProxyServer.cc.
References handleFSMSoapMessage().
Referenced by SMProxyServer().
|
private |
Bind callbacks for web interface
Definition at line 77 of file SMProxyServer.cc.
References consumerStatisticsWebPage(), css(), dataRetrieverWebPage(), defaultWebPage(), and dqmEventStatisticsWebPage().
Referenced by SMProxyServer().
|
private |
Webinterface callback creating web page showing the connected consumers
Definition at line 211 of file SMProxyServer.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bindWebInterfaceCallbacks().
|
private |
Webinterface callback for style sheet
Definition at line 150 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindWebInterfaceCallbacks().
|
private |
Webinterface callback creating web page showing the data retrieval
Definition at line 184 of file SMProxyServer.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bindWebInterfaceCallbacks().
|
private |
Webinterface callback creating default web page
Definition at line 157 of file SMProxyServer.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bindWebInterfaceCallbacks().
|
private |
Webinterface callback creating web page showing statistics about the processed DQM events.
Definition at line 238 of file SMProxyServer.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bindWebInterfaceCallbacks().
|
private |
Callback for SOAP message containint a state machine event, possibly including new configuration values
Definition at line 269 of file SMProxyServer.cc.
References edmPickEvents::command, stor::soaputils::createFsmSoapResponseMsg(), alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, cms::Exception::explainSelf(), stor::soaputils::extractParameters(), lumiQueryAPI::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bindStateMachineCallbacks().
|
private |
Initialize the shared resources
Definition at line 100 of file SMProxyServer.cc.
References consumerUtils_, smpsWebPageHelper_, and stateMachine_.
Referenced by SMProxyServer().
|
private |
|
private |
Callback handling event consumer event request
Definition at line 355 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindConsumerCallbacks().
|
private |
Callback handling event consumer init message request
Definition at line 347 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindConsumerCallbacks().
|
private |
Callback handling event consumer registration request
Definition at line 339 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindConsumerCallbacks().
|
private |
Callback handling DQM event consumer DQM event request
Definition at line 371 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindConsumerCallbacks().
|
private |
Callback handling DQM event consumer registration request
Definition at line 363 of file SMProxyServer.cc.
References recoMuon::in, and dbtoconf::out.
Referenced by bindConsumerCallbacks().
|
private |
Create and start all worker threads
Definition at line 119 of file SMProxyServer.cc.
References alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, stateMachine_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SMProxyServer().
|
private |
Definition at line 141 of file SMProxyServer.h.
Referenced by initializeSharedResources().
|
private |
Definition at line 144 of file SMProxyServer.h.
Referenced by initializeSharedResources().
|
private |
Definition at line 138 of file SMProxyServer.h.
Referenced by initializeSharedResources(), and startWorkerThreads().