Class ActuatorCoapController
- java.lang.Object
-
- io.patriot_framework.generator.controll.ActuatorCoapController
-
- All Implemented Interfaces:
CoapController
public class ActuatorCoapController extends Object implements CoapController
-
-
Constructor Summary
Constructors Constructor Description ActuatorCoapController(Actuator actuator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerDevice()
Creates resource endpoints for Device and adds them to CoapServer, which enables communication with Device.void
removeDevice()
Removes resource endpoints from CoapServer to deny any connection with Device via CoAP.
-
-
-
Constructor Detail
-
ActuatorCoapController
public ActuatorCoapController(Actuator actuator)
-
-
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 interfaceCoapController
-
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 interfaceCoapController
-
-