C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)
---------------------------------------------------------------------------

                 Key: THRIFT-1198
                 URL: https://issues.apache.org/jira/browse/THRIFT-1198
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library, Test Suite
            Reporter: Roger Meier
            Assignee: Roger Meier


I added support for Domain Socket, HTTP, JSON and introduced boost program 
options on the C++ TestServer and TestClient.
{code}
./TestClient -h
Allowed options:
  -h [ --help ]               produce help message
  --host arg (=localhost)     Host to connect
  --port arg (=9090)          Port number to connect
  --domain-socket arg         Domain Socket (e.g. /tmp/ThriftTest.thrift),
                              instead of host and port
  --transport arg (=buffered) Transport: buffered, framed, http
  --protocol arg (=binary)    Protocol: binary, json
  --ssl                       Encrypted Transport using SSL
  -n [ --testloops ] arg (=1) Number of Tests

./TestServer -h
Allowed options:
  -h [ --help ]               produce help message
  --port arg (=9090)          Port number to listen
  --domain-socket arg         Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)
  --server-type arg (=simple) type of server, "simple", "thread-pool",
                              "threaded", or "nonblocking"
  --transport arg (=buffered) transport: buffered, framed, http
  --protocol arg (=binary)    protocol: binary, json
  --ssl                       Encrypted Transport using SSL
  --processor-events          processor-events
  -n [ --workers ] arg (=4)   Number of thread pools workers. Only valid for
                              thread-pool server type
{code}

next job is to move test/cpp and test/threads to lib/cpp/test and integrate 
them with boost unit test suite

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to