TSocketPool changes
authorDavid Reiss <dreiss@apache.org>
Tue, 18 Mar 2008 18:21:52 +0000 (18:21 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 18 Mar 2008 18:21:52 +0000 (18:21 +0000)
commit8f3bce4153a17dbf6a188bb80f589eadbd0de5e2
tree4c06cbb3291eb861bb044c0f9bfeeeddacc4d4c3
parent6d94390375e865e0c774df1dc072ea1774eba7b1
TSocketPool changes

Summary: 1] Added empty constructor
         2] Added function to set server list
         3] Made getServers return by ref
         4] Made list of servers be a list of pointers

         The last change is so that someone can pass in the list of servers and rely on TSocketPool to change the failure time directly on the TSocketServer object

Reviewed By: aditya

Test Plan: Ran with a test search server

Revert: OK

DiffCamp Revision: 9529

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