diff options
author | David Reiss <dreiss@apache.org> | 2009-04-02 19:22:31 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-04-02 19:22:31 +0000 |
commit | deda141392d0b242e1fce0c0682ceedb45642a18 (patch) | |
tree | b3341930bc7cc0965fa6d725f728774fae8c361c /lib/rb/lib | |
parent | b5714ef91ec7210c65e07c8d635c224795f22919 (diff) | |
download | thrift-deda141392d0b242e1fce0c0682ceedb45642a18.tar.gz |
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
Diffstat (limited to 'lib/rb/lib')
-rw-r--r-- | lib/rb/lib/thrift/types.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rb/lib/thrift/types.rb b/lib/rb/lib/thrift/types.rb index 6d70eb587..20e4ca2c1 100644 --- a/lib/rb/lib/thrift/types.rb +++ b/lib/rb/lib/thrift/types.rb @@ -94,6 +94,7 @@ module Thrift CALL = 1 REPLY = 2 EXCEPTION = 3 + ONEWAY = 4 end end |