diff options
author | murgatroid99 <mlumish@google.com> | 2015-04-24 13:32:48 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-04-24 13:32:48 -0700 |
commit | 69927d65c3b9f3f65ff34b27140b3d2ad2d1c1ec (patch) | |
tree | 558eb66e2b5cc69a5d9b59b3f6a2254f3cdc83a3 /src/objective-c/GRPCClient/private/GRPCWrappedCall.h | |
parent | 463a7a86ba297a8165060d1289533ca33d1a52f2 (diff) |
Addressed review comments
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCWrappedCall.h')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h index 2557267fe6..405ea33979 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h @@ -31,21 +31,18 @@ * */ -#ifndef Pods_GRPCWrappedCall_h -#define Pods_GRPCWrappedCall_h - #import <Foundation/Foundation.h> #import "GRPCChannel.h" typedef void(^GRPCCompletionHandler)(NSDictionary *); -@interface GRPCWrappedCall:NSObject; +@interface GRPCWrappedCall : NSObject + +- (instancetype)initWithChannel:(GRPCChannel *)channel method:(NSString *)method host:(NSString *)host NS_DESIGNATED_INITIALIZER; -- (instancetype)initWithChannel:(GRPCChannel *)channel method:(NSString *)method host:(NSString *)host; +- (void)startBatchWithOperations:(NSDictionary *)ops handleCompletion:(GRPCCompletionHandler)handleCompletion errorHandler:(void(^)())errorHandler; -- (void)startBatch:(NSDictionary *)ops handleCompletion:(GRPCCompletionHandler)handleCompletion; +- (void)startBatchWithOperations:(NSDictionary *)ops handleCompletion:(GRPCCompletionHandler)handleCompletion; - (void)cancel; @end - -#endif |