mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
20 lines
388 B
C
20 lines
388 B
C
|
#import <Cocoa/Cocoa.h>
|
||
|
#import "TTransport.h"
|
||
|
|
||
|
@interface TNSStreamTransport : NSObject <TTransport> {
|
||
|
NSInputStream * mInput;
|
||
|
NSOutputStream * mOutput;
|
||
|
}
|
||
|
|
||
|
- (id) initWithInputStream: (NSInputStream *) input
|
||
|
outputStream: (NSOutputStream *) output;
|
||
|
|
||
|
- (id) initWithInputStream: (NSInputStream *) input;
|
||
|
|
||
|
- (id) initWithOutputStream: (NSOutputStream *) output;
|
||
|
|
||
|
@end
|
||
|
|
||
|
|
||
|
|