-
public class LoggingIllegalOperationHandler extends IllegalOperationHandler
Implementation of IllegalOperationHandler. This class logs a warning if there was no match between possessed and requested properties.
-
-
Constructor Summary
Constructors Constructor Description LoggingIllegalOperationHandler(IllegalOperationMessageCreator messageCreator)
-
Method Summary
Modifier and Type Method Description BleIllegalOperationExceptionhandleMismatchData(BluetoothGattCharacteristic characteristic, int neededProperties)This method logs a warning. -
-
Constructor Detail
-
LoggingIllegalOperationHandler
LoggingIllegalOperationHandler(IllegalOperationMessageCreator messageCreator)
-
-
Method Detail
-
handleMismatchData
BleIllegalOperationException handleMismatchData(BluetoothGattCharacteristic characteristic, int neededProperties)
This method logs a warning.
- Parameters:
characteristic- the characteristic upon which the operation was requestedneededProperties- bitmask of properties needed by the operation
-
-
-
-