![]() |
Public Member Functions | |
(int) | - commandIdentifier |
(void) | - setCommandIdentifier: |
(Class) | - classInfo |
(void) | - setClassInfo: |
(IDBlueResponse *) | - getResponse:withAsync: |
Static Public Member Functions | |
(CommandIdentifierClassInfo *) | + create:withClassInfo: |
CommandIdentifierClassInfo is used to dynamically create IDBlueResponse classes (at runtime).
- (Class) classInfo |
Gets the Class that is used to create the IDBlueResponse object
- (int) commandIdentifier |
Gets the command identifier
+ (CommandIdentifierClassInfo *) create: | (int) | commandIdentifier | |
withClassInfo: | (Class) | classInfo | |
Create an instance of CommandIdentifierClassInfo for the given command identifier and Class
commandIdentifier | The command identifier |
classInfo | The Class of the IDBlueResponse |
- (IDBlueResponse *) getResponse: | (IDBluePacket*) | packet | |
withAsync: | (BOOL) | async | |
Get an IDBlueResponse object from the given IDBluePacket
packet | The IDBluePacket containing the response data |
async | Whether the response is asynchronous or not |
- (void) setClassInfo: | (Class) | classInfo |
Sets the Class that is used to create the IDBlueResponse object
- (void) setCommandIdentifier: | (int) | commandIdentifier |
Sets the command identifier