BOSS 7.1.0
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
8
10{
11 public :
12
13 DistBossServer(const std::string& jobOpt);
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
#define private
const std::string & serverName() const