Implement async_void in alterl bindings
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 00:57:35 +0000 (00:57 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 00:57:35 +0000 (00:57 +0000)
commitcdf8d1994a4fb39029964af0d4dc4a636029ab92
tree4fa0602e3b2b8e529dd123c999acc8cc4c93aaa3
parentfc44c41253a5d56e15facadeef3677162ae6f90f
Implement async_void in alterl bindings

Summary:
  - reply_type for async void functions is now async_void instead of
    the empty struct definition
  - async void functions should return "ok". otherwise the processor
    will crash and the connection will be killed. Is this behaviour
    expected?

Test Plan: tested using testAsync() in ThriftTest. Didn't used to work
           but works now

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666415 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_alterl_generator.cc
lib/alterl/src/thrift_processor.erl
test/erl/src/test_server.erl