You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by Apache Wiki <wi...@apache.org> on 2008/07/13 07:09:43 UTC
[Thrift Wiki] Trivial Update of "ThriftTypes" by ChadWalters
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by ChadWalters:
http://wiki.apache.org/thrift/ThriftTypes
------------------------------------------------------------------------------
A service consists of a set of named functions, each with a list of parameters and a return type.
- Note that {{{void}}} is a valid type for a function return, in addition to all other defined Thrift types. Additionally, an {{{async}}} modifier keyword may be added to a {{{void}}} function, which will generate code that does not wait for a response. Note that a pure void function will return a response to the client which guarantees that the operation has completed on the server side. With async method calls the client will only be guaranteed that the re-
+ Note that {{{void}}} is a valid type for a function return, in addition to all other defined Thrift types. Additionally, an {{{async}}} modifier keyword may be added to a {{{void}}} function, which will generate code that does not wait for a response. Note that a pure {{{void}}} function will return a response to the client which guarantees that the operation has completed on the server side. With {{{async}}} method calls the client will only be guaranteed that the request succeeded at the transport layer.
- quest succeeded at the transport layer.