类的使用
cn.jrack.springboot.websocket.core.handler.SocketClient
使用SocketClient的程序包
-
cn.jrack.springboot.websocket.core.handler中SocketClient的使用
修饰符和类型方法说明SocketManager.getClientByTag(String tag) SocketManager.getClientsByTags(String... tags) 返回变量类型为SocketClient的类型的cn.jrack.springboot.websocket.core.handler中的方法修饰符和类型方法说明voidSocketManager.addClients(SocketClient... clients) voidSocketManager.removeClients(SocketClient... clients) voidSocketManager.send(Object object, SocketClient... clients) voidSocketManager.sendText(String text, SocketClient... clients) voidSocketManager.sendTextToOther(String text, SocketClient... clients) voidSocketManager.sendToOther(Object object, SocketClient... clients)