ATLAS Offline Software
|
This athena service will provide a link to an external ONCRPC server, e.g running as standalone application or in another athena application. More...
#include <ExternalONCRPCServerSvc.h>
Public Member Functions | |
ExternalONCRPCServerSvc (const std::string &name, ISvcLocator *sl) | |
Default constructor. More... | |
virtual | ~ExternalONCRPCServerSvc () |
Destructor. More... | |
virtual StatusCode | initialize () override |
Gaudi default methods. More... | |
virtual StatusCode | finalize () override |
Finalize - called once at the end. More... | |
Server methods | |
std::string | m_hostName |
double | m_timeOut |
CLIENT * | m_client |
virtual StatusCode | UpdateEventForStream (const EventStreamID &evtStreamID, const std::string &event) override |
Put this event as new current event for stream given by name. More... | |
StatusCode | GetClient () |
Obtain a client handle by. More... | |
StatusCode | ReleaseClient () |
Destroy the private client handle. More... | |
struct timeval | GetTimeout () |
Convert timeout double in seconds to struct timeval. More... | |
This athena service will provide a link to an external ONCRPC server, e.g running as standalone application or in another athena application.
It only provides means for streaming events to that server.
Definition at line 23 of file ExternalONCRPCServerSvc.h.
JiveXML::ExternalONCRPCServerSvc::ExternalONCRPCServerSvc | ( | const std::string & | name, |
ISvcLocator * | sl | ||
) |
Default constructor.
Constructor.
Definition at line 17 of file ExternalONCRPCServerSvc.cxx.
|
virtual |
Destructor.
Definition at line 29 of file ExternalONCRPCServerSvc.cxx.
|
overridevirtual |
Finalize - called once at the end.
Release the client
Definition at line 137 of file ExternalONCRPCServerSvc.cxx.
|
private |
Obtain a client handle by.
Definition at line 60 of file ExternalONCRPCServerSvc.cxx.
|
private |
Convert timeout double in seconds to struct timeval.
Definition at line 60 of file ExternalONCRPCServerSvc.cxx.
|
overridevirtual |
Gaudi default methods.
Initialize - called once in beginning.
Try preemtivly creating a client right here - but ignore the result
Definition at line 37 of file ExternalONCRPCServerSvc.cxx.
|
private |
Destroy the private client handle.
Definition at line 124 of file ExternalONCRPCServerSvc.cxx.
|
overridevirtual |
Put this event as new current event for stream given by name.
Implementation of IServerSvc method.
Get one event and put it as the new event for the this stream, which is identified by EventStreamID
Definition at line 153 of file ExternalONCRPCServerSvc.cxx.
|
private |
Definition at line 59 of file ExternalONCRPCServerSvc.h.
|
private |
Definition at line 53 of file ExternalONCRPCServerSvc.h.
|
private |
Definition at line 56 of file ExternalONCRPCServerSvc.h.