blob: 2c56740ad0c0df0bcdadbf710c0e036e28b9a704 [file] [log] [blame]
#import "TProtocol.h"
#import "TTransport.h"
#import "TProtocolFactory.h"
@interface TBinaryProtocol : NSObject <TProtocol> {
id <TTransport> mTransport;
BOOL mStrictRead;
BOOL mStrictWrite;
}
- (id) initWithTransport: (id <TTransport>) transport;
- (id) initWithTransport: (id <TTransport>) transport
strictRead: (BOOL) strictRead
strictWrite: (BOOL) strictWrite;
@end;
@interface TBinaryProtocolFactory : NSObject <TProtocolFactory> {
}
+ (TBinaryProtocolFactory *) sharedFactory;
- (TBinaryProtocol *) newProtocolOnTransport: (id <TTransport>) transport;
@end