You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/Signal/src/network/tcp/StreamPair.h

16 lines
367 B
Objective-C

#import <Foundation/Foundation.h>
/**
*
* Stores an NSInputStream and an NSOutputStream in one object
*
**/
@interface StreamPair : NSObject
@property (nonatomic, readonly) NSInputStream* inputStream;
@property (nonatomic, readonly) NSOutputStream* outputStream;
+(StreamPair*) streamPairWithInput:(NSInputStream*)input andOutput:(NSOutputStream*)output;
@end