aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoService.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-09 07:50:50 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-09 07:50:50 -0700
commit0ca68b7cb19d2735f965d283b9974d8cd42df51d (patch)
tree10abff4f54d5c109e8aa813a340729ba1ef2689f /src/objective-c/ProtoRPC/ProtoService.h
parent16ebf5a124026f8e9d59894b214d2e743590a93e (diff)
parent1bc2976a0f51e14d3525aecbf4b3450445ed2d1b (diff)
Merge github.com:grpc/grpc into error
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoService.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoService.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoService.h b/src/objective-c/ProtoRPC/ProtoService.h
index 2e8cb33696..87d06e1ae5 100644
--- a/src/objective-c/ProtoRPC/ProtoService.h
+++ b/src/objective-c/ProtoRPC/ProtoService.h
@@ -33,17 +33,28 @@
#import <Foundation/Foundation.h>
-@class ProtoRPC;
+@class GRPCProtoCall;
@protocol GRXWriteable;
@class GRXWriter;
+
+__attribute__((deprecated("Please use GRPCProtoService.")))
@interface ProtoService : NSObject
- (instancetype)initWithHost:(NSString *)host
packageName:(NSString *)packageName
serviceName:(NSString *)serviceName NS_DESIGNATED_INITIALIZER;
-- (ProtoRPC *)RPCToMethod:(NSString *)method
+- (GRPCProtoCall *)RPCToMethod:(NSString *)method
requestsWriter:(GRXWriter *)requestsWriter
responseClass:(Class)responseClass
responsesWriteable:(id<GRXWriteable>)responsesWriteable;
@end
+
+
+/**
+ * This subclass is empty now. Eventually we'll remove ProtoService class
+ * to avoid potential naming conflict
+ */
+@interface GRPCProtoService : ProtoService
+
+@end