private String buildTopic(final IotHubTransportMessage message) throws TransportException switch (message.getDeviceOperationType()) throw new UnsupportedOperationException("Device Twin Operation is not supported - " + message.getDeviceOperationType());
DeviceOperations deviceOperation = ((IotHubTransportMessage) deliveredMessage).getDeviceOperationType(); if (deviceOperation == DeviceOperations.DEVICE_OPERATION_TWIN_SUBSCRIBE_DESIRED_PROPERTIES_REQUEST || deviceOperation == DeviceOperations.DEVICE_OPERATION_METHOD_SUBSCRIBE_REQUEST
requestMap.put(message.getRequestId(), message.getDeviceOperationType()); if (message.getDeviceOperationType() == DeviceOperations.DEVICE_OPERATION_TWIN_SUBSCRIBE_DESIRED_PROPERTIES_REQUEST)
logger.LogInfo("Message received on DT " + messsage.getDeviceOperationType());
else if (iotHubTransportMessage.getDeviceOperationType() == DEVICE_OPERATION_UNKNOWN)
this.correlationIdList.put(deviceTwinMessage.getCorrelationId(), deviceTwinMessage.getDeviceOperationType()); switch (deviceTwinMessage.getDeviceOperationType())
switch (message.getDeviceOperationType())
String status = dtMessage.getStatus(); switch (dtMessage.getDeviceOperationType())
switch (methodMessage.getDeviceOperationType())