程序包 cool.scx.ext.ws
类 WSOnlineClientTable
java.lang.Object
cool.scx.ext.ws.WSOnlineClientTable
WSOnlineClientTable class.
- 版本:
- 1.15.0
- 作者:
- scx567888
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidadd(io.vertx.core.http.ServerWebSocket... sockets) add.io.vertx.core.http.ServerWebSocketget.Collection<io.vertx.core.http.ServerWebSocket>onlineClients.io.vertx.core.http.ServerWebSocketremove(io.vertx.core.http.ServerWebSocket webSocket) remove.io.vertx.core.http.ServerWebSocketremove.intsize()size.
-
构造器详细资料
-
WSOnlineClientTable
public WSOnlineClientTable()
-
-
方法详细资料
-
add
public void add(io.vertx.core.http.ServerWebSocket... sockets) add.
- 参数:
sockets- aServerWebSocketobject
-
remove
remove.
- 参数:
webSocketID- aStringobject- 返回:
- a
ServerWebSocketobject
-
remove
public io.vertx.core.http.ServerWebSocket remove(io.vertx.core.http.ServerWebSocket webSocket) remove.
- 参数:
webSocket- aServerWebSocketobject- 返回:
- a
ServerWebSocketobject
-
get
get.
- 参数:
webSocketsID- aStringobject- 返回:
- a
ServerWebSocketobject
-
onlineClients
onlineClients.
- 返回:
- a
Collectionobject
-
size
public int size()size.
- 返回:
- a int
-