[thrift] TSocketPool::addServer, c++ version
authordweatherford <dev-null@apache.org>
Tue, 9 Oct 2007 22:57:23 +0000 (22:57 +0000)
committerdweatherford <dev-null@apache.org>
Tue, 9 Oct 2007 22:57:23 +0000 (22:57 +0000)
commitd1372829e65dcca66ab0ca75a20919e76bbf7fc9
tree410e4bd08e9febf46b94a40b0cbb8727b50999d4
parent34b2926d5ca9b6068fa863e7d5e0a4055cbbef30
[thrift] TSocketPool::addServer, c++ version

Summary: Same thing as the previous PHP change. Also includes a new constructor for easy building of a TSocketPool with a single host (for later filling in via addServer) without extra std::vector boxing/unboxing.

Reviewed By: mcslee

Test Plan: Synapse c++ client at r62896 uses this.

Revert: OK

TracCamp Project: Thrift

DiffCamp Revision: 909

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665297 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/transport/TSocketPool.cpp
lib/cpp/src/transport/TSocketPool.h