Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
502ea8a
)
Nonblockingserver constructor that uses binary protocol factory by default
author
Mark Slee
<mcslee@apache.org>
Wed, 24 Jan 2007 19:41:57 +0000
(19:41 +0000)
committer
Mark Slee
<mcslee@apache.org>
Wed, 24 Jan 2007 19:41:57 +0000
(19:41 +0000)
Reviewed By: tbr-aditya
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664937
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/server/TNonblockingServer.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/server/TNonblockingServer.h
b/lib/cpp/src/server/TNonblockingServer.h
index
c8bfcb5
..
4ea3fa3
100644
(file)
--- a/
lib/cpp/src/server/TNonblockingServer.h
+++ b/
lib/cpp/src/server/TNonblockingServer.h
@@
-50,6
+50,13
@@
class TNonblockingServer : public TServer {
void handleEvent(int fd, short which);
public:
+ TNonblockingServer(shared_ptr<TProcessor> processor,
+ int port) :
+ TServer(processor),
+ serverSocket_(0),
+ port_(port),
+ frameResponses_(true) {}
+
TNonblockingServer(shared_ptr<TProcessor> processor,
shared_ptr<TProtocolFactory> protocolFactory,
int port) :