aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-07 16:52:19 -0700
committerGravatar Makarand Dharmapurikar <makarandd@google.com>2016-06-07 16:52:19 -0700
commit6f9501098ec0714f620b0913ffdc6f824f8aca14 (patch)
tree05fb702c50c77fa4081ab56db90f6af767e1459d /src/objective-c/ProtoRPC/ProtoRPC.h
parentd30d4e279c4a63effaa6e912fc00bd4ad96054c7 (diff)
fix for issue 5548. Deprecated old classes and created subclasses.
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index bd926b7328..55fefb0aa8 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -36,13 +36,22 @@
#import "ProtoMethod.h"
+__attribute__((deprecated("Please use GRPCProtoRPC.")))
@interface ProtoRPC : GRPCCall
- (instancetype)initWithHost:(NSString *)host
- method:(ProtoMethod *)method
+ method:(GRPCProtoMethod *)method
requestsWriter:(GRXWriter *)requestsWriter
responseClass:(Class)responseClass
responsesWriteable:(id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
- (void)start;
@end
+
+/**
+ * This subclass is empty now. Eventually we'll remove ProtoService class
+ * to avoid potential naming conflict
+ */
+@interface GRPCProtoRPC : ProtoRPC
+
+@end