Updated GRPCCall comments and spacing

pull/1363/head
murgatroid99 10 years ago
parent 3a1309b494
commit b56609c705
  1. 11
      src/objective-c/GRPCClient/GRPCCall.m
  2. 2
      src/objective-c/examples/Sample/Podfile.lock

@ -107,10 +107,10 @@
_completionQueue = [GRPCCompletionQueue completionQueue];
_channel = [GRPCChannel channelToHost:host];
_wrappedCall = [[GRPCWrappedCall alloc] initWithChannel:_channel
method:method.HTTP2Path
host:host];
_wrappedCall = [[GRPCWrappedCall alloc] initWithChannel:_channel
method:method.HTTP2Path
host:host];
// Serial queue to invoke the non-reentrant methods of the grpc_call object.
_callQueue = dispatch_queue_create("org.grpc.call", NULL);
@ -134,7 +134,7 @@
- (void)cancelCall {
// Can be called from any thread, any number of times.
[_wrappedCall cancel];
[_wrappedCall cancel];
}
- (void)cancel {
@ -175,6 +175,7 @@
dispatch_async(_callQueue, ^{
[weakSelf startReadWithHandler:^(grpc_byte_buffer *message) {
if (message == NULL) {
// No more messages from the server
return;
}
NSData *data = [NSData grpc_dataWithByteBuffer:message];

@ -41,4 +41,4 @@ SPEC CHECKSUMS:
RemoteTest: 021a51c04d5795f286b379ca5ef14d0be5b2fb9b
Route_guide: a277da8eef182774abb050d7b81109f5878f8652
COCOAPODS: 0.36.0
COCOAPODS: 0.36.4

Loading…
Cancel
Save