org.mashupbots.socko.webserver
Matcher for web socket id to use with channel groups
Adds the specified Netty channel for management.
Adds the specified Netty channel for management. For internal package use only.
Netty channel to add
Collection of channels that are currently being used
Disconnects the specified web sockets and removes it from the group
Disconnects the specified web sockets and removes it from the group
IDs of web sockets to remove
Disconnects the specified web socket and removes it from the group
Disconnects the specified web socket and removes it from the group
ID of web socket to remove
Disconnects all web sockets
Checks if the specified web socket id is connected or not
Checks if the specified web socket id is connected or not
Id of web socket to check if it is still connected
True
if connected, False
if the channel has been closed.
Name to call this web socket connection.
Name to call this web socket connection. Netty channel group will use this name.
Broadcasts a web socket text message to all web socket
Sends a web socket text message to the specified web sockets
Sends a web socket text message to the specified web socket
Broadcasts a web socket text message to all web socket
Sends a web socket text message to the specified web sockets
Sends a web socket text message to the specified web socket
Manages all web socket connections
Acts as a wrapper for Netty's channel group. A TODO is to optimize performance by using a hash lookup.