-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlmServer.h
More file actions
33 lines (21 loc) · 690 Bytes
/
Copy pathAlmServer.h
File metadata and controls
33 lines (21 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef MicroMiddleware_AlmServer_h_Included
#define MicroMiddleware_AlmServer_h_Included
#include"MicroMiddleware/IncludeExtLibs.h"
#include"MicroMiddleware/NetObjects/RpcIdentifier.h"
#include"MicroMiddleware/Export.h"
namespace MicroMiddleware
{
class RpcBase;
class DLL_STATE AlmServer
{
public:
AlmServer(std::string groupName = string("")) : groupName_(groupName) { }
virtual ~AlmServer() { }
virtual RmiObjectBase* RPCall(const RpcIdentifier &rpc, RpcBase *rpcBase) = 0;
std::string GetGroupName() { return groupName_; }
protected:
mutable Mutex rpcMutex_;
std::string groupName_;
};
}; // namespace MicroMiddleware
#endif // MicroMiddleware_AlmServer_h_Included