projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring
[invirt/third/libt4.git]
/
rpc
/
rpc.h
diff --git
a/rpc/rpc.h
b/rpc/rpc.h
index
02c7c62
..
4f9a231
100644
(file)
--- a/
rpc/rpc.h
+++ b/
rpc/rpc.h
@@
-30,7
+30,7
@@
class rpc_const {
// rpc client endpoint.
// manages a xid space per destination socket
// threaded: multiple threads can be sending RPCs,
// rpc client endpoint.
// manages a xid space per destination socket
// threaded: multiple threads can be sending RPCs,
-class rpcc : public chanmgr {
+class rpcc : public connection_delegate {
private:
//manages per rpc info
private:
//manages per rpc info
@@
-135,7
+135,7
@@
rpcc::call_timeout(proc_t proc, const milliseconds to, R & r, const Args&... arg
}
// rpc server endpoint.
}
// rpc server endpoint.
-class rpcs : public chanmgr {
+class rpcs : public connection_delegate {
typedef enum {
NEW, // new RPC, not a duplicate
typedef enum {
NEW, // new RPC, not a duplicate
@@
-200,7
+200,7
@@
class rpcs : public chanmgr {
// internal handler registration
void reg1(proc_t proc, handler *);
// internal handler registration
void reg1(proc_t proc, handler *);
- unique_ptr<ThrPool> dispatchpool_;
+ unique_ptr<thread_pool> dispatchpool_;
unique_ptr<tcpsconn> listener_;
public:
unique_ptr<tcpsconn> listener_;
public: