ATLAS Offline Software
Loading...
Searching...
No Matches
JiveXML::IServer Class Referenceabstract

Pure abstract interface for all full server implementations. More...

#include <IServer.h>

Inheritance diagram for JiveXML::IServer:
Collaboration diagram for JiveXML::IServer:

Public Member Functions

virtual ~IServer ()
virtual void ServerThreadStopped ()=0
Event serving methods
virtual std::vector< std::string > GetStreamNames () const =0
 get the names of all the streams
virtual const EventStreamID GetEventStreamID (const std::string &streamName) const =0
 get the current EventStreamID for a particular stream
virtual const std::string GetEvent (const EventStreamID &evtStreamID) const =0
 get the current event for a particular stream
virtual int GetState () const =0
 get the Status of the application
virtual bool GetRunServerFlag () const =0
 The server thread will stop once this flag is set to false.
Event receiving methods
virtual StatusCode UpdateEventForStream (const EventStreamID &, const std::string &)=0
 Put this event as new current event for stream given by name.
Messaging services
virtual void Message (const MSG::Level level, const std::string &msg) const =0
virtual MSG::Level LogLevel () const =0
 Get the logging level.

Detailed Description

Pure abstract interface for all full server implementations.

Definition at line 19 of file IServer.h.

Constructor & Destructor Documentation

◆ ~IServer()

virtual JiveXML::IServer::~IServer ( )
inlinevirtual

Definition at line 26 of file IServer.h.

26{}

Member Function Documentation

◆ GetEvent()

virtual const std::string JiveXML::IEventServer::GetEvent ( const EventStreamID & evtStreamID) const
pure virtualinherited

get the current event for a particular stream

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ GetEventStreamID()

virtual const EventStreamID JiveXML::IEventServer::GetEventStreamID ( const std::string & streamName) const
pure virtualinherited

get the current EventStreamID for a particular stream

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ GetRunServerFlag()

virtual bool JiveXML::IEventServer::GetRunServerFlag ( ) const
pure virtualinherited

The server thread will stop once this flag is set to false.

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ GetState()

virtual int JiveXML::IEventServer::GetState ( ) const
pure virtualinherited

get the Status of the application

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ GetStreamNames()

virtual std::vector< std::string > JiveXML::IEventServer::GetStreamNames ( ) const
pure virtualinherited

get the names of all the streams

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ LogLevel()

virtual MSG::Level JiveXML::IMessage::LogLevel ( ) const
pure virtualinherited

Get the logging level.

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.

◆ Message()

virtual void JiveXML::IMessage::Message ( const MSG::Level level,
const std::string & msg ) const
pure virtualinherited

◆ ServerThreadStopped()

virtual void JiveXML::IServer::ServerThreadStopped ( )
pure virtual

◆ UpdateEventForStream()

virtual StatusCode JiveXML::IEventReceiver::UpdateEventForStream ( const EventStreamID & ,
const std::string &  )
pure virtualinherited

Put this event as new current event for stream given by name.

Implemented in JiveXML::JiveXMLServer, and JiveXML::ONCRPCServerSvc.


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