diff options
author | 2015-07-17 14:36:45 -0700 | |
---|---|---|
committer | 2015-07-17 14:36:45 -0700 | |
commit | af26143b6fc76559f0907aadfc9f23c4e2e60844 (patch) | |
tree | 2805cc3317954094eb8baf8a30898b1a93bbc00f /src/objective-c/RxLibrary/GRXWriter.h | |
parent | 232e04b6199090b5805b3e7148fcfce3b8ef9956 (diff) | |
parent | fea28b79fb0a211b2ea8515dab25db19099ea595 (diff) |
Merge github.com:grpc/grpc into i-want-to-wait-free
Diffstat (limited to 'src/objective-c/RxLibrary/GRXWriter.h')
-rw-r--r-- | src/objective-c/RxLibrary/GRXWriter.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/objective-c/RxLibrary/GRXWriter.h b/src/objective-c/RxLibrary/GRXWriter.h index dcf44e3143..5d6e1a472a 100644 --- a/src/objective-c/RxLibrary/GRXWriter.h +++ b/src/objective-c/RxLibrary/GRXWriter.h @@ -85,7 +85,7 @@ typedef NS_ENUM(NSInteger, GRXWriterState) { // Unless otherwise indicated by a conforming class, no messages should be sent // concurrently to a GRXWriter. I.e., conforming classes aren't required to // be thread-safe. -@protocol GRXWriter <NSObject> +@interface GRXWriter : NSObject // This property can be used to query the current state of the writer, which // determines how it might currently use its writeable. Some state transitions can @@ -116,12 +116,3 @@ typedef NS_ENUM(NSInteger, GRXWriterState) { // can't remember the details in the presence of concurrency. - (void)finishWithError:(NSError *)errorOrNil; @end - -// A "proxy" class that simply forwards values, completion, and errors from its -// input writer to its writeable. -// It is useful as a superclass for pipes that act as a transformation of their -// input writer, and for classes that represent objects with input and -// output sequences of values, like an RPC. -@interface GRXWriter : NSObject<GRXWriter> -- (instancetype)initWithWriter:(id<GRXWriter>)writer NS_DESIGNATED_INITIALIZER; -@end |