Package dev.digiried.wattpilot.messages
Class SecuredMessage
java.lang.Object
dev.digiried.wattpilot.messages.Message
dev.digiried.wattpilot.messages.OutgoingMessage
dev.digiried.wattpilot.messages.SecuredMessage
Secured Message. If the connection is secured, this is sent by the client to send an
authenticated
SetValueMessage.- Author:
- Florian Hotze - Initial contribution
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecuredMessage(String data, String requestId, String hmac) Creates a new SecuredMessage. -
Method Summary
-
Field Details
-
data
-
requestId
-
hmac
-
-
Constructor Details
-
SecuredMessage
Creates a new SecuredMessage.- Parameters:
data- the serializedSetValueMessageto be sentrequestId- the request idhmac- the HMAC to authenticate the message
-