CGEM BOSS
6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DistBossServer.h
Go to the documentation of this file.
1
#ifndef DISTBOSS_SERVER_H
2
#define DISTBOSS_SERVER_H
3
4
#include "
DistBossServer/JobOptionsMgr.h
"
5
#include "
DistBossServer/RpcInterface.h
"
6
#include "
DistBossServer/ServerExitHandler.h
"
7
#include "
DistBossServer/ServerErrorHandler.h
"
8
9
class
DistBossServer
10
{
11
public :
12
13
DistBossServer
(
const
std::string& jobOpt);
14
~DistBossServer
();
15
16
const
std::string&
serverName
()
const
{
return
m_serverName; }
17
18
int
run
();
19
20
21
private
:
22
23
DistBossServer
();
//stop default
24
25
26
private
:
27
28
JobOptionsMgr
m_optMgr;
29
RpcInterface
* m_readerRpc;
30
std::vector<RpcInterface*> m_writerRpcs;
31
32
ServerExitHandler
* m_exitHandler;
33
ServerErrorHandler
* m_errorHandler;
34
35
static
const
std::string m_serverName;
36
static
std::string autoServerName();
37
38
// planned services @ server side
39
enum
SvcType {
40
RawEvtSvc,
41
SimSeedSvc,
42
RootEvtSvc,
43
WriteDst,
44
WriteRec,
45
WriteTuple,
46
WriteHist
47
};
48
static
const
std::string m_svc[7];
49
};
50
51
#endif
JobOptionsMgr.h
private
#define private
Definition:
RootEventData_rootcint.cxx:11
RpcInterface.h
ServerErrorHandler.h
ServerExitHandler.h
DistBossServer
Definition:
DistBossServer.h:10
DistBossServer::~DistBossServer
~DistBossServer()
Definition:
DistBossServer.cxx:89
DistBossServer::serverName
const std::string & serverName() const
Definition:
DistBossServer.h:16
DistBossServer::run
int run()
Definition:
DistBossServer.cxx:102
JobOptionsMgr
Definition:
JobOptionsMgr.h:12
RpcInterface
Definition:
RpcInterface.h:5
ServerErrorHandler
Definition:
ServerErrorHandler.h:7
ServerExitHandler
Definition:
ServerExitHandler.h:7
source
DistBoss
DistBossServer
DistBossServer-00-00-04
DistBossServer
DistBossServer.h
Generated by
1.9.6