mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
7e9eea4871
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
20 lines
388 B
Objective-C
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
|
|
|
|
|
|
|