Modify thrift_client to take in a "connector" function as a parameter, enabling subst...
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:03:29 +0000 (01:03 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:03:29 +0000 (01:03 +0000)
commitad74b320591c087690e4c43f5ff3bdb34aa98a26
tree780bbd13f520476aeba872c10783900415faa94c
parent086c279722edf85fb95da929376bc41f0eeb5c1d
Modify thrift_client to take in a "connector" function as a parameter, enabling substitution of different protocol/transports

Summary:
  Left in a backwards-compatible start_link with (Host, Port, Service) args

Test plan:
  tutorial/alterl still works

Notes:
  We may want to go a little further and get rid of the binary_protocol specific stuff from socket_transport as well

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666460 13f79535-47bb-0310-9956-ffa450edef68
lib/alterl/src/thrift_client.erl
lib/alterl/src/thrift_socket_transport.erl