projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed a method that isn't part of the public interface of unmarshall
[invirt/third/libt4.git]
/
rpc
/
rpc.h
diff --git
a/rpc/rpc.h
b/rpc/rpc.h
index
5dabe4b
..
065cabc
100644
(file)
--- a/
rpc/rpc.h
+++ b/
rpc/rpc.h
@@
-7,6
+7,7
@@
#include "thr_pool.h"
#include "marshall.h"
#include "thr_pool.h"
#include "marshall.h"
+#include "marshall_wrap.h"
#include "connection.h"
class rpc_const {
#include "connection.h"
class rpc_const {
@@
-163,7
+164,7
@@
class rpcs : public chanmgr {
string buf; // the reply buffer
};
string buf; // the reply buffer
};
- unsigned int port_;
+ in_port_t port_;
unsigned int nonce_;
// provide at most once semantics by maintaining a window of replies
unsigned int nonce_;
// provide at most once semantics by maintaining a window of replies
@@
-213,9
+214,9
@@
class rpcs : public chanmgr {
tcpsconn *listener_;
public:
tcpsconn *listener_;
public:
- rpcs(unsigned int port, size_t counts=0);
+ rpcs(in_port_t port, size_t counts=0);
~rpcs();
~rpcs();
- inline unsigned int port() { return listener_->port(); }
+ inline in_port_t port() { return listener_->port(); }
//RPC handler for clients binding
int rpcbind(unsigned int &r, int a);
//RPC handler for clients binding
int rpcbind(unsigned int &r, int a);