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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 def CallMethod(self, method_descriptor, rpc_controller, | 217 def CallMethod(self, method_descriptor, rpc_controller, |
218 request, response_class, done): | 218 request, response_class, done): |
219 """Calls the method identified by the descriptor. | 219 """Calls the method identified by the descriptor. |
220 | 220 |
221 Call the given method of the remote service. The signature of this | 221 Call the given method of the remote service. The signature of this |
222 procedure looks the same as Service.CallMethod(), but the requirements | 222 procedure looks the same as Service.CallMethod(), but the requirements |
223 are less strict in one important way: the request object doesn't have to | 223 are less strict in one important way: the request object doesn't have to |
224 be of any specific class as long as its descriptor is method.input_type. | 224 be of any specific class as long as its descriptor is method.input_type. |
225 """ | 225 """ |
226 raise NotImplementedError | 226 raise NotImplementedError |
OLD | NEW |