![]() |
00001 00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved. 00003 00004 #import <Foundation/Foundation.h> 00005 #import "IDBluePacket.h" 00006 #import "IDBlueResponse.h" 00007 00012 @interface CommandIdentifierClassInfo : NSObject { 00013 @private 00014 // The command identifier 00015 int _commandIdentifier; 00016 00017 // The Class that represents the instance of the IDBlueResponse 00018 // associated with the command identifier 00019 Class _classInfo; 00020 } 00021 00025 -(int) commandIdentifier; 00026 00030 -(void) setCommandIdentifier: (int) commandIdentifier; 00031 00035 -(Class) classInfo; 00036 00040 -(void) setClassInfo: (Class) classInfo; 00041 00048 -(IDBlueResponse*) getResponse: (IDBluePacket*) packet withAsync: (BOOL) async; 00049 00056 +(CommandIdentifierClassInfo*) create:(int) commandIdentifier withClassInfo:(Class) classInfo; 00057 00058 @end