| OLD | NEW |
| 1 # Protocol Buffers - Google's data interchange format | 1 # Protocol Buffers - Google's data interchange format |
| 2 # Copyright 2008 Google Inc. All rights reserved. | 2 # Copyright 2008 Google Inc. All rights reserved. |
| 3 # http://code.google.com/p/protobuf/ | 3 # http://code.google.com/p/protobuf/ |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
| 7 # met: | 7 # met: |
| 8 # | 8 # |
| 9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 method_descriptor: Descriptor of the invoked method. | 275 method_descriptor: Descriptor of the invoked method. |
| 276 rpc_controller: Rpc controller to execute the method. | 276 rpc_controller: Rpc controller to execute the method. |
| 277 request: Request protocol message. | 277 request: Request protocol message. |
| 278 callback: A callback to execute when the method finishes. | 278 callback: A callback to execute when the method finishes. |
| 279 Returns: | 279 Returns: |
| 280 Response message (in case of blocking call). | 280 Response message (in case of blocking call). |
| 281 """ | 281 """ |
| 282 return stub.rpc_channel.CallMethod( | 282 return stub.rpc_channel.CallMethod( |
| 283 method_descriptor, rpc_controller, request, | 283 method_descriptor, rpc_controller, request, |
| 284 method_descriptor.output_type._concrete_class, callback) | 284 method_descriptor.output_type._concrete_class, callback) |
| OLD | NEW |