|
|
@@ -0,0 +1,32 @@
|
|
|
+package com.nb.web.service.bus.websocket.topic;
|
|
|
+
|
|
|
+import com.nb.common.websocket.WebSocketConstant;
|
|
|
+import com.nb.common.websocket.handler.Subscribe;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+import org.tio.core.ChannelContext;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author lifang
|
|
|
+ * @version 1.0.0
|
|
|
+ * @ClassName DeviceRepeatHandler.java
|
|
|
+ * @Description 临床无绑定设备
|
|
|
+ * @createTime 2022年03月25日 14:21:00
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class ClinicFinishedHandler extends Subscribe {
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String getId() {
|
|
|
+ return WebSocketConstant.FINISHED_CLINICID;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void close(ChannelContext channelContext) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean needParam() {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|