Module org.omnifaces
Package org.omnifaces.cdi.push
package org.omnifaces.cdi.push
-
ClassDescriptionThe
<o:socket>is anUIComponentwhith opens an one-way (server to client) web socket based push connection in client side which can be reached from server side viaPushContextinterface injected in any CDI/container managed artifact via@Pushannotation.This web socket channel manager holds all application and session scoped web socket channel identifiers registered by<o:socket>.This helps the web socket channel manager to hold view scoped web socket channel identifiers registered by<o:socket>.This web socket server endpoint handles web socket requests coming from<o:socket>.This web socket event will be fired bySocketSessionManagerwhen a socket has been@SocketEvent.Opened,@SocketEvent.Switchedor@SocketEvent.Closed.Indicates that a socket has closed.Indicates that a socket has opened.Indicates that a socket user was switched.This Faces listener forUIViewRootensures that the necessary JavaScript code to open or close theWebSocketis properly rendered.This web socket session manager holds all web socket sessions by their channel identifier.This web socket user manager holds all web socket users registered by<o:socket>.