Upgrading dependencies to gorealis v2 and thrift 0.12.0
This commit is contained in:
parent
7cbbea498b
commit
54b8d7942a
1327 changed files with 137391 additions and 61476 deletions
4
vendor/git.apache.org/thrift.git/contrib/zeromq/test-server.cpp
generated
vendored
4
vendor/git.apache.org/thrift.git/contrib/zeromq/test-server.cpp
generated
vendored
|
@ -2,7 +2,7 @@
|
|||
#include "TZmqServer.h"
|
||||
#include "Storage.h"
|
||||
|
||||
using boost::shared_ptr;
|
||||
using apache::thrift::stdcxx::shared_ptr;
|
||||
using apache::thrift::TProcessor;
|
||||
using apache::thrift::server::TZmqServer;
|
||||
using apache::thrift::server::TZmqMultiServer;
|
||||
|
@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
zmq::context_t ctx(1);
|
||||
TZmqServer reqrep_server(processor, ctx, "tcp://0.0.0.0:9090", ZMQ_REP);
|
||||
TZmqServer oneway_server(processor, ctx, "tcp://0.0.0.0:9091", ZMQ_UPSTREAM);
|
||||
TZmqServer oneway_server(processor, ctx, "tcp://0.0.0.0:9091", ZMQ_PULL);
|
||||
TZmqMultiServer multiserver;
|
||||
multiserver.servers().push_back(&reqrep_server);
|
||||
multiserver.servers().push_back(&oneway_server);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue