thrift/lib/cocoa/TNSStreamTransport.h
Mark Slee 7e9eea4871 Adding Cocoa generator to Thrift
Summary: Thanks to Andrew McGeachie for doing this

Reviewed By: dreiss

Test Plan: No merge/build issues. Will solicit McGeachie for additions to test/cocoa in the future


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665254 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 21:00:23 +00:00

20 lines
388 B
Objective-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