Erlang: add framed_transport and non-strict binary_protocol
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:01:48 +0000 (01:01 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:01:48 +0000 (01:01 +0000)
commit914ebb4b69dc8fe351efce4f029e68cde3c3ba3d
treef84eb838cceb7424b2e69ab67e77e5e1e53ab6ca
parent1af1868457221f257bc5c4dd83028dd5628e67bd
Erlang: add framed_transport and non-strict binary_protocol

- thrift_client now takes as its fourth parameter Options: framed, strict_{read,write}, connect_timeout (P.S. fourth param used to be Timeout)
- binary protocol now takes options: strict_{read,write}
- buffers in framed and buffered transport are now iolists and not reversed lists of binaries
- rename buffer in buffered transport "write_buffer" to match framed transport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666447 13f79535-47bb-0310-9956-ffa450edef68
lib/alterl/src/thrift_binary_protocol.erl
lib/alterl/src/thrift_buffered_transport.erl
lib/alterl/src/thrift_client.erl
lib/alterl/src/thrift_framed_transport.erl [new file with mode: 0644]
lib/alterl/src/thrift_socket_transport.erl
lib/alterl/src/thrift_transport.erl