Class RegistrationMessage


  • public class RegistrationMessage
    extends java.lang.Object
    The RegisterMessage is used to register and deregister devices with the AWS IoT core connector. Supported action types are: "Register" "Deregister"
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String Action  
      java.lang.String Id  
      java.lang.String Model  
      java.lang.String ResponseTopic  
    • Constructor Summary

      Constructors 
      Constructor Description
      RegistrationMessage​(java.lang.String model, java.lang.String id, java.lang.String responseTopic, java.lang.String action)
      Constructs a RegisterMessage which is sent to the "Registration" topic to Register or Deregister a data source.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Model

        public java.lang.String Model
      • Id

        public java.lang.String Id
      • Action

        public java.lang.String Action
      • ResponseTopic

        public java.lang.String ResponseTopic
    • Constructor Detail

      • RegistrationMessage

        public RegistrationMessage​(java.lang.String model,
                                   java.lang.String id,
                                   java.lang.String responseTopic,
                                   java.lang.String action)
        Constructs a RegisterMessage which is sent to the "Registration" topic to Register or Deregister a data source.
        Parameters:
        model - the model this datasource should send messages to.
        id - the ID this datasource should send messages to.
        responseTopic - the response topic that the datasource will subscribe to.
        action - the action of this RegisterMessage. Supported values are, "Register" and Deregister