1 /** 2 * Autogenerated by Thrift 3 * 4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING 5 * @generated 6 */ 7 8 /** 9 * @generated by Thrift 10 */ 11 12 #import <Foundation/Foundation.h> 13 14 #import <thrift/TProtocol.h> 15 #import <thrift/TApplicationException.h> 16 #import <thrift/TProtocolException.h> 17 #import <thrift/TProtocolUtil.h> 18 #import <thrift/TProcessor.h> 19 #import <thrift/TObjective-C.h> 20 #import <thrift/TBase.h> 21 #import <thrift/TBaseStruct.h> 22 #import <thrift/TBaseException.h> 23 #import "module.h" 24 #import "includes.h" 25 26 typedef Included * IncludesIncluded; 27 28 typedef TransitiveFoo IncludesTransitiveFoo; 29 30 @protocol MyService <NSObject> 31 - (void) query: (MyStruct *) s i: (Included *) i; // throws TException 32 - (void) has_arg_docs: (MyStruct *) s i: (Included *) i; // throws TException 33 @end 34 35 @interface MyServiceClient : NSObject <MyService> { 36 id <TProtocol> inProtocol; 37 id <TProtocol> outProtocol; 38 } 39 - (id) initWithProtocol: (id <TProtocol>) protocol; 40 - (id) initWithInProtocol: (id <TProtocol>) inProtocol outProtocol: (id <TProtocol>) outProtocol; 41 @end 42 43 @interface MyServiceProcessor : NSObject <TProcessor> { 44 id <MyService> mService; 45 NSDictionary * mMethodMap; 46 } 47 - (id) initWithMyService: (id <MyService>) service; 48 - (id<MyService>) service; 49 @end 50 51 52