![]() |
00001 00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved. 00003 00004 00005 #import "ResponseHandler.h" 00006 00007 @protocol IHfResponseHandler <IResponseHandler, NSObject> 00008 @optional 00009 -(void) getTagInfoResponse: (IDBlueCommand*) command withResponse: (GetTagInfoResponse*) response; 00010 -(void) getTagInfoFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00011 00012 00013 -(void) readBlockResponse: (IDBlueCommand*) command withResponse: (ReadBlockResponse*) response; 00014 -(void) readBlockFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00015 00016 -(void) readBlocksResponse: (IDBlueCommand*) command withResponse: (ReadBlocksResponse*) response; 00017 -(void) readBlocksFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00018 00019 -(void) writeBlockResponse: (IDBlueCommand*) command withResponse: (WriteBlockResponse*) response; 00020 -(void) writeBlockFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00021 00022 -(void) writeBlocksResponse: (IDBlueCommand*) command withResponse: (WriteBlocksResponse*) response; 00023 -(void) writeBlocksFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00024 00025 00026 -(void) getBlockIndexResponse: (IDBlueCommand*) command withResponse: (BlockIndexProperty*) response; 00027 -(void) getBlockIndexFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00028 00029 -(void) getBlockCountResponse: (IDBlueCommand*) command withResponse: (BlockCountProperty*) response; 00030 -(void) getBlockCountFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00031 00032 -(void) getBlockDataResponse: (IDBlueCommand*) command withResponse: (BlockDataProperty*) response; 00033 -(void) getBlockDataFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00034 00035 -(void) setBlockIndexResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response; 00036 -(void) setBlockIndexFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00037 00038 -(void) setBlockCountResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response; 00039 -(void) setBlockCountFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00040 00041 -(void) setBlockDataResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response; 00042 -(void) setBlockDataFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response; 00043 @end 00044 00045 @interface HfResponseHandler : ResponseHandler <IHfResponseHandler> { 00046 } 00047 @end