High level WebSocket protocols implementation. TODO - rewrite for UB5(linux) using node/go as microservice
Classes
Methods
# getWSNotifier () → JsonMessagesProtocol inner
Return an instance of JsonMessagesProtocol named ubNotifier
for Server<->Client communication using WebSocket
In case ubNotifier
protocol is not registered during WebSocket thread initialization
or not configured in config - will return null
Returned JsonMessagesProtocol instance methods is limited by WSProtocol#getUserSessions, WSProtocol#sendTo and WSProtocol#broadcast
See WebSockets for detailed description
# registeredProtocols () → Array.<string> inner
Return array of currently registered WS protocol names
Events
# connect --> ()
Emited for JsonMessagesProtocol just after client is connected
# disconnect --> ()
Emited for JsonMessagesProtocol just after client is disconnected