Skip to content

Commit

Permalink
Updated repo to work with thrift 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragkh committed Jun 5, 2019
1 parent a64f2ea commit 6233fd4
Show file tree
Hide file tree
Showing 32 changed files with 4,734 additions and 9,086 deletions.
471 changes: 259 additions & 212 deletions sharded-kv/include/KVAggregatorService.h

Large diffs are not rendered by default.

363 changes: 203 additions & 160 deletions sharded-kv/include/KVQueryService.h

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sharded-kv/include/succinctkv_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class SuccinctKVClient {
public:
SuccinctKVClient(const std::string& host, const uint32_t port =
KV_AGGREGATOR_PORT) {
socket_ = boost::shared_ptr<TSocket>(new TSocket("localhost", port));
transport_ = boost::shared_ptr<TTransport>(new TBufferedTransport(socket_));
protocol_ = boost::shared_ptr<TProtocol>(new TBinaryProtocol(transport_));
socket_ = stdcxx::shared_ptr<TSocket>(new TSocket("localhost", port));
transport_ = stdcxx::shared_ptr<TTransport>(new TBufferedTransport(socket_));
protocol_ = stdcxx::shared_ptr<TProtocol>(new TBinaryProtocol(transport_));
transport_->open();
client_ = new KVAggregatorServiceClient(protocol_);
client_->ConnectToServers();
Expand Down Expand Up @@ -111,9 +111,9 @@ class SuccinctKVClient {
}

private:
boost::shared_ptr<TSocket> socket_;
boost::shared_ptr<TTransport> transport_;
boost::shared_ptr<TProtocol> protocol_;
stdcxx::shared_ptr<TSocket> socket_;
stdcxx::shared_ptr<TTransport> transport_;
stdcxx::shared_ptr<TProtocol> protocol_;
KVAggregatorServiceClient *client_;

};
Expand Down
2 changes: 1 addition & 1 deletion sharded-kv/include/succinctkv_constants.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions sharded-kv/include/succinctkv_types.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6233fd4

Please sign in to comment.