Package com.bytedesk.core.socket.mqtt
Class MqttRestController
java.lang.Object
com.bytedesk.core.socket.mqtt.MqttRestController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MqttConnectionService
private final MqttSessionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
get clientIds that has session in the local mqtt server http://127.0.0.1:9003/mqtt/api/v1/session/clientsorg.springframework.http.ResponseEntity<?>
-
Field Details
-
mqttSessionService
-
mqttConnectionService
-
-
Constructor Details
-
MqttRestController
public MqttRestController()
-
-
Method Details
-
getSessionClients
@GetMapping("/session/clients") public org.springframework.http.ResponseEntity<?> getSessionClients()get clientIds that has session in the local mqtt server http://127.0.0.1:9003/mqtt/api/v1/session/clients- Returns:
-
isConnectedClients
@GetMapping("/connected/clients") public org.springframework.http.ResponseEntity<?> isConnectedClients()
-