| #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 |