ResponseMessage 类

定义

Extend Message to support status response

public class ResponseMessage extends Message
继承
java.lang.Object
ResponseMessage

继承成员

Message.DEFAULT_IOTHUB_MESSAGE_CHARSET Message.getBodyStream() Message.getBytes() Message.getConnectionDeviceId() Message.getConnectionModuleId() Message.getContentEncoding() Message.getContentType() Message.getCorrelatingMessageCallback() Message.getCorrelatingMessageCallbackContext() Message.getCorrelationId() Message.getCreationTimeUTC() Message.getCreationTimeUTCString() Message.getDeliveryAcknowledgement() Message.getInputName() Message.getIotHubConnectionString() Message.getMessageId() Message.getMessageType() Message.getOutputName() Message.getProperties() Message.getProperty(String name) Message.getTo() Message.getUserId() Message.isExpired() Message.isSecurityMessage() Message.Message() Message.Message(ByteArrayInputStream stream) Message.Message(byte[] body) Message.Message(String body) Message.setAbsoluteExpiryTime(long absoluteTimeout) Message.setAsSecurityMessage() Message.setConnectionDeviceId(String connectionDeviceId) Message.setConnectionModuleId(String connectionModuleId) Message.setContentEncoding(String contentEncoding) Message.setContentType(String contentType) Message.setContentTypeFinal(String contentType) Message.setCorrelatingMessageCallback(CorrelatingMessageCallback correlatingMessageCallback) Message.setCorrelatingMessageCallbackContext(Object correlatingMessageCallbackContext) Message.setCorrelationId(String correlationId) Message.setCreationTimeUTC(Date creationTimeUTC) Message.setExpiryTime(long timeOut) Message.setInputName(String inputName) Message.setIotHubConnectionString(IotHubConnectionString iotHubConnectionString) Message.setMessageId(String messageId) Message.setMessageType(MessageType type) Message.setOutputName(String outputName) Message.setProperty(String name, String value) Message.setUserId(String userId) Message.toString()

构造函数

ResponseMessage(byte[] body, IotHubStatusCode status)

CONSTRUCTOR

方法

getStatus()

Getter for the status

适用于