IDBLUE logo
ResponseHandler.h
00001 
00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved.
00003 
00004 #import "IDBlueCommand.h"
00005 #import "IDBlueResponse.h"
00006 #import "NackResponse.h"
00007 #import "GetEntryResponse.h"
00008 #import "GetEntryCountResponse.h"
00009 #import "GetBluetoothNameResponse.h"
00010 #import "GetStatusResponse.h"
00011 #import "ReadTagIdResponse.h"
00012 #import "GetTagInfoResponse.h"
00013 #import "ReadBlockResponse.h"
00014 #import "ReadBlocksResponse.h"
00015 #import "WriteBlockResponse.h"
00016 #import "WriteBlocksResponse.h"
00017 
00018 #import "TimestampProperty.h"
00019 #import "DuplicateEliminationProperty.h"
00020 #import "RfidTimeoutProperty.h"
00021 #import "BluetoothTimeoutProperty.h"
00022 #import "ContinuousScanTimeoutProperty.h"
00023 #import "DeviceTimeoutProperty.h"
00024 #import "BlockIndexProperty.h"
00025 #import "BlockCountProperty.h"
00026 #import "HoldToScanEnabledProperty.h"
00027 #import "BuzzerEnabledProperty.h"
00028 #import "ContinuousScanEnabledProperty.h"
00029 #import "EnforceTimestampProperty.h"
00030 #import "ConnectedModeProperty.h"
00031 #import "DisconnectedModeProperty.h"
00032 #import "RfidProtocolProperty.h"
00033 #import "BlockDataProperty.h"
00034 #import "BootloaderVersionProperty.h"
00035 #import "VersionInfoProperty.h"
00036 #import "ConnectToHostProperty.h"
00037 #import "ActionButtonEnabledProperty.h"
00038 
00039 @protocol IResponseHandler <NSObject>
00040 @optional
00041         -(void) commandSent: (IDBlueCommand*) command;
00042         
00043         -(void) packetReceived: (IDBluePacket*) packet;
00044         
00045     -(void) responseReceived: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00046         
00047         -(void) buttonPressResponse: (IDBlueResponse*) response;
00048         
00049         
00050         -(void) noOpResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00051         -(void) noOpFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00052         
00053         -(void) heartBeatResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00054         -(void) heartBeatFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00055         
00056         -(void) beginCommandsResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00057         -(void) beginCommandsFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00058         
00059         -(void) endCommandsResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00060         -(void) endCommandsFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00061         
00062         -(void) beepResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00063         -(void) beepFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00064         
00065         -(void) clearEntriesResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00066         -(void) clearEntriesFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00067         
00068         -(void) savePropertiesResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00069         -(void) savePropertiesFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00070         
00071         -(void) loadPropertiesResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00072         -(void) loadPropertiesFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00073         
00074         -(void) enableChannelResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00075         -(void) enableChannelFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00076         
00077         -(void) setScanningResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00078         -(void) setScanningFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00079         
00080         -(void) getEntryResponse: (IDBlueCommand*) command withResponse: (GetEntryResponse*) response;
00081         -(void) getEntryFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00082         
00083         -(void) getEntryCountResponse: (IDBlueCommand*) command withResponse: (GetEntryCountResponse*) response;
00084         -(void) getEntryCountFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00085         
00086         -(void) getBluetoothNameResponse: (IDBlueCommand*) command withResponse: (GetBluetoothNameResponse*) response;
00087         -(void) getBluetoothNameFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00088         
00089         -(void) getStatusResponse: (IDBlueCommand*) command withResponse: (GetStatusResponse*) response;
00090         -(void) getStatusFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00091         
00092         -(void) readTagIdResponse: (IDBlueCommand*) command withResponse: (ReadTagIdResponse*) response;
00093         -(void) readTagIdFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00094         
00095         -(void) setBluetoothNameResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00096         -(void) setBluetoothNameFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00097         
00098         -(void) setBluetoothPinResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00099         -(void) setBluetoothPinFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00100         
00101         
00102         
00103         -(void) getTimestampResponse: (IDBlueCommand*) command withResponse: (TimestampProperty*) response;
00104         -(void) getTimestampFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00105         
00106         -(void) getDuplicateEliminationResponse: (IDBlueCommand*) command withResponse: (DuplicateEliminationProperty*) response;
00107         -(void) getDuplicateEliminationFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00108         
00109         -(void) getRfidTimeoutResponse: (IDBlueCommand*) command withResponse: (RfidTimeoutProperty*) response;
00110         -(void) getRfidTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00111         
00112         -(void) getBluetoothTimeoutResponse: (IDBlueCommand*) command withResponse: (BluetoothTimeoutProperty*) response;
00113         -(void) getBluetoothTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00114         
00115         -(void) getContinuousScanTimeoutResponse: (IDBlueCommand*) command withResponse: (ContinuousScanTimeoutProperty*) response;
00116         -(void) getContinuousScanTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00117         
00118         -(void) getDeviceTimeoutResponse: (IDBlueCommand*) command withResponse: (DeviceTimeoutProperty*) response;
00119         -(void) getDeviceTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00120         
00121         -(void) getHoldToScanResponse: (IDBlueCommand*) command withResponse: (HoldToScanEnabledProperty*) response;
00122         -(void) getHoldToScanFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00123         
00124         -(void) getBuzzerEnabledResponse: (IDBlueCommand*) command withResponse: (BuzzerEnabledProperty*) response;
00125         -(void) getBuzzerEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00126         
00127         -(void) getConnectToHostResponse: (IDBlueCommand*) command withResponse: (ConnectToHostProperty*) response;
00128         -(void) getConnectToHostFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00129 
00130         -(void) getActionButtonEnabledResponse: (IDBlueCommand*) command withResponse: (ActionButtonEnabledProperty*) response;
00131         -(void) getActionButtonEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00132         
00133         -(void) getContinuousScanEnabledResponse: (IDBlueCommand*) command withResponse: (ContinuousScanEnabledProperty*) response;
00134         -(void) getContinuousScanEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00135         
00136         -(void) getEnforceTimestampResponse: (IDBlueCommand*) command withResponse: (EnforceTimestampProperty*) response;
00137         -(void) getEnforceTimestampFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00138         
00139         -(void) getConnectedModeResponse: (IDBlueCommand*) command withResponse: (ConnectedModeProperty*) response;
00140         -(void) getConnectedModeFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00141         
00142         -(void) getDisconnectedModeResponse: (IDBlueCommand*) command withResponse: (DisconnectedModeProperty*) response;
00143         -(void) getDisconnectedModeFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00144         
00145         -(void) getRfidProtocolResponse: (IDBlueCommand*) command withResponse: (RfidProtocolProperty*) response;
00146         -(void) getRfidProtocolFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00147         
00148         -(void) getBootloaderVersionResponse: (IDBlueCommand*) command withResponse: (BootloaderVersionProperty*) response;
00149         -(void) getBootloaderVersionFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00150 
00151         -(void) getVersionInfoResponse: (IDBlueCommand*) command withResponse: (VersionInfoProperty*) response;
00152         -(void) getVersionInfoFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00153         
00154         
00155         
00156         -(void) setTimestampResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00157         -(void) setTimestampFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00158         
00159         -(void) setDuplicateEliminationResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00160         -(void) setDuplicateEliminationFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00161         
00162         -(void) setRfidTimeoutResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00163         -(void) setRfidTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00164         
00165         -(void) setBluetoothTimeoutResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00166         -(void) setBluetoothTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00167         
00168         -(void) setContinuousScanTimeoutResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00169         -(void) setContinuousScanTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00170         
00171         -(void) setDeviceTimeoutResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00172         -(void) setDeviceTimeoutFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00173         
00174         -(void) setHoldToScanResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00175         -(void) setHoldToScanFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00176         
00177         -(void) setBuzzerEnabledResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00178         -(void) setBuzzerEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00179         
00180         -(void) setConnectToHostResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00181         -(void) setConnectToHostFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00182 
00183         -(void) setActionButtonEnabledResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00184         -(void) setActionButtonEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00185 
00186         -(void) setContinuousScanEnabledResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00187         -(void) setContinuousScanEnabledFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00188         
00189         -(void) setEnforceTimestampResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00190         -(void) setEnforceTimestampFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00191         
00192         -(void) setConnectedModeResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00193         -(void) setConnectedModeFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00194         
00195         -(void) setDisconnectedModeResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00196         -(void) setDisconnectedModeFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00197         
00198         -(void) setRfidProtocolResponse: (IDBlueCommand*) command withResponse: (IDBlueResponse*) response;
00199         -(void) setRfidProtocolFailed: (IDBlueCommand*) command withResponse: (NackResponse*) response;
00200 @end
00201 
00243 @interface ResponseHandler : NSObject <IResponseHandler> {
00244 } 
00245 @end

 

Generated on Mon Jan 19 2015 15:47:37
Copyright © 2015 Cathexis Innovations Inc. All Rights Reserved.