diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-06-08 14:33:59 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-06-08 14:33:59 -0700 |
commit | 33028369bfe016f167c68211b342d73329ef9a9e (patch) | |
tree | ec86538699927e406a907ad14a174532acb36da0 /src/objective-c/ProtoRPC/ProtoMethod.h | |
parent | b17e25ce9487fc5071f0a13d472e6148d4469c9b (diff) | |
parent | 4f11ab1ffd20a3a0cf2c33a563fcd5437733c189 (diff) |
Merge pull request #6826 from makdharma/issue5548
fix for issue 5548. Deprecated old classes and created subclasses.
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoMethod.h')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoMethod.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoMethod.h b/src/objective-c/ProtoRPC/ProtoMethod.h index a0ed2cf98a..f9fdbb35ff 100644 --- a/src/objective-c/ProtoRPC/ProtoMethod.h +++ b/src/objective-c/ProtoRPC/ProtoMethod.h @@ -37,6 +37,7 @@ * A fully-qualified proto service method name. Full qualification is needed because a gRPC endpoint * can implement multiple services. */ +__attribute__((deprecated("Please use GRPCProtoMethod."))) @interface ProtoMethod : NSObject @property(nonatomic, readonly) NSString *package; @property(nonatomic, readonly) NSString *service; @@ -48,3 +49,11 @@ service:(NSString *)service method:(NSString *)method; @end + +/** + * This subclass is empty now. Eventually we'll remove ProtoMethod class + * to avoid potential naming conflict + */ +@interface GRPCProtoMethod : ProtoMethod + +@end |