BOSS
6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
WriterRpc.h
Go to the documentation of this file.
1
#ifndef DISTBOSS_WRITER_RPC_H
2
#define DISTBOSS_WRITER_RPC_H
3
4
#include "
DistBossUtil/PthrWriterBufPool.h
"
5
#include "
DistBossServer/RpcInterface.h
"
6
#include "dis.hxx"
7
#include <map>
8
#include <string>
9
10
template
<
class
Writer>
11
class
WriterRpc
:
virtual
public
DimRpc,
virtual
public
RpcInterface
12
{
13
public :
14
15
WriterRpc
(
const
std::string& svrName,
const
std::string& fname);
16
virtual
~WriterRpc
();
17
18
int
wait_to_end
();
19
20
21
private
:
22
23
void
rpcHandler();
24
25
void
clearBak(
int
clientId);
26
27
WriterRpc
();
//stop default
28
29
30
private
:
31
32
int
m_evtDone;
33
34
int
m_inCode;
35
int
m_outCode;
36
37
int
m_size;
38
void
* m_pEvt;
39
40
PthrWriterBufPool<Writer>
* m_writer;
41
42
std::string m_svrName;
43
44
std::map<int, AutoEnlargeBuffer*> m_evtBak;
45
};
46
47
#include "
DistBossServer/template/WriterRpc.cc
"
48
49
#endif
PthrWriterBufPool.h
private
#define private
Definition:
RootEventData_rootcint.cxx:10
RpcInterface.h
WriterRpc.cc
PthrWriterBufPool
Definition:
PthrWriterBufPool.h:12
RpcInterface
Definition:
RpcInterface.h:5
WriterRpc
Definition:
WriterRpc.h:12
WriterRpc::wait_to_end
int wait_to_end()
Definition:
WriterRpc.cc:41
WriterRpc::~WriterRpc
virtual ~WriterRpc()
Definition:
WriterRpc.cc:18
source
DistBoss
DistBossServer
DistBossServer-00-00-03
DistBossServer
WriterRpc.h
Generated by
1.9.6