diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-28 13:53:16 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-28 13:53:16 -0700 |
commit | a439859c73f34bec8f38e28fe818e2d3305d7873 (patch) | |
tree | a0e7550346ebc6a4112ced216ac16025e30a75a9 /src/objective-c | |
parent | 3203c372477785a7114df3caed255f028a1766e6 (diff) | |
parent | fe466b0e170120263811ab12a4406c7438201481 (diff) |
Merge github.com:grpc/grpc into %s
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoService.m | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoService.m b/src/objective-c/ProtoRPC/ProtoService.m index 9740190851..3487fac59d 100644 --- a/src/objective-c/ProtoRPC/ProtoService.m +++ b/src/objective-c/ProtoRPC/ProtoService.m @@ -65,18 +65,18 @@ return self; } -- (ProtoRPC *)RPCToMethod:(NSString *)method - requestsWriter:(GRXWriter *)requestsWriter - responseClass:(Class)responseClass - responsesWriteable:(id<GRXWriteable>)responsesWriteable { +- (GRPCProtoCall *)RPCToMethod:(NSString *)method + requestsWriter:(GRXWriter *)requestsWriter + responseClass:(Class)responseClass + responsesWriteable:(id<GRXWriteable>)responsesWriteable { GRPCProtoMethod *methodName = [[GRPCProtoMethod alloc] initWithPackage:_packageName service:_serviceName method:method]; - return [[ProtoRPC alloc] initWithHost:_host - method:methodName - requestsWriter:requestsWriter - responseClass:responseClass - responsesWriteable:responsesWriteable]; + return [[GRPCProtoCall alloc] initWithHost:_host + method:methodName + requestsWriter:requestsWriter + responseClass:responseClass + responsesWriteable:responsesWriteable]; } @end |