Class SensorCoapController

    • Constructor Detail

      • SensorCoapController

        public SensorCoapController​(Sensor sensor)
    • Method Detail

      • registerDevice

        public void registerDevice()
        Description copied from interface: CoapController
        Creates resource endpoints for Device and adds them to CoapServer, which enables communication with Device.
        Specified by:
        registerDevice in interface CoapController
      • removeDevice

        public void removeDevice()
        Description copied from interface: CoapController
        Removes resource endpoints from CoapServer to deny any connection with Device via CoAP.
        Specified by:
        removeDevice in interface CoapController