THRIFT-388. Create a "ONEWAY" message type that is an alias for "CALL"
authorDavid Reiss <dreiss@apache.org>
Thu, 2 Apr 2009 19:22:31 +0000 (19:22 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 2 Apr 2009 19:22:31 +0000 (19:22 +0000)
commitdeda141392d0b242e1fce0c0682ceedb45642a18
treeb3341930bc7cc0965fa6d725f728774fae8c361c
parentb5714ef91ec7210c65e07c8d635c224795f22919
THRIFT-388. Create a "ONEWAY" message type that is an alias for "CALL"

Pave the way for a new message type for oneway function calls.
For now, just define the constant in all languages and make
server implementations treat it the same way as a normal call.
Only C++ and Erlang currently check the message type (on the
server side).

There is a little bit of redundancy in the Erlang code, but
the alternative is a bit gross, and this split-up will be
necessary eventually when we start handling one-way calls
differently.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761389 13f79535-47bb-0310-9956-ffa450edef68
13 files changed:
compiler/cpp/src/generate/t_cpp_generator.cc
lib/cocoa/src/protocol/TProtocol.h
lib/cpp/src/protocol/TProtocol.h
lib/csharp/src/Protocol/TMessageType.cs
lib/erl/include/thrift_constants.hrl
lib/erl/src/thrift_processor.erl
lib/hs/src/Thrift.hs
lib/java/src/org/apache/thrift/protocol/TMessageType.java
lib/ocaml/src/Thrift.ml
lib/perl/lib/Thrift.pm
lib/php/src/Thrift.php
lib/py/src/Thrift.py
lib/rb/lib/thrift/types.rb