Class StatusController
- java.lang.Object
-
- li.pitschmann.knx.core.plugin.api.v1.controllers.AbstractController
-
- li.pitschmann.knx.core.plugin.api.v1.controllers.StatusController
-
public final class StatusController extends AbstractController
Controller for requesting the KNX client status pool
-
-
Constructor Summary
Constructors Constructor Description StatusController(li.pitschmann.knx.core.communication.KnxClient knxClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstatusAll(io.javalin.http.Context ctx)Endpoint to get all KNX statusvoidstatusOne(io.javalin.http.Context ctx, li.pitschmann.knx.core.address.GroupAddress groupAddress)Endpoint to get status of a singleGroupAddress-
Methods inherited from class li.pitschmann.knx.core.plugin.api.v1.controllers.AbstractController
getKnxClient, limitAndGetAsList
-
-
-
-
Method Detail
-
statusAll
public void statusAll(io.javalin.http.Context ctx)
Endpoint to get all KNX status- Parameters:
ctx- the Javalin context
-
statusOne
public void statusOne(io.javalin.http.Context ctx, li.pitschmann.knx.core.address.GroupAddress groupAddress)Endpoint to get status of a singleGroupAddress- Parameters:
ctx- the Javalin contextgroupAddress- the group address
-
-