aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/google/protobuf/service.py
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-07-29 01:13:20 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-07-29 01:13:20 +0000
commit80b1d62bfcea65c59e2160da71dad84b1bd19cef (patch)
tree5423b830c53174fec83a7ea01ff0877e11c1ddb6 /python/google/protobuf/service.py
parentd2fd0638c309113ccae3731a58e30419f522269a (diff)
Submit recent changes from internal branch, including "lite mode" for
C++ and Java. See CHANGES.txt for more details.
Diffstat (limited to 'python/google/protobuf/service.py')
-rwxr-xr-xpython/google/protobuf/service.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/google/protobuf/service.py b/python/google/protobuf/service.py
index 9ec42fe3..dd136c9a 100755
--- a/python/google/protobuf/service.py
+++ b/python/google/protobuf/service.py
@@ -67,8 +67,6 @@ class Service(object):
and "done" will later be called with the response value.
In the blocking case, RpcException will be raised on error.
- Asynchronous calls must check status via the Failed method of the
- RpcController.
Preconditions:
* method_descriptor.service == GetDescriptor
@@ -82,6 +80,9 @@ class Service(object):
Postconditions:
* "done" will be called when the method is complete. This may be
before CallMethod() returns or it may be at some point in the future.
+ * If the RPC failed, the response value passed to "done" will be None.
+ Further details about the failure can be found by querying the
+ RpcController.
"""
raise NotImplementedError