Module org.omnifaces
Package org.omnifaces.cdi.push
-
Class Summary Class Description Socket The<o:socket>
is anUIComponent
whith opens an one-way (server to client) web socket based push connection in client side which can be reached from server side viaPushContext
interface injected in any CDI/container managed artifact via@
Push
annotation.SocketChannelManager This web socket channel manager holds all application and session scoped web socket channel identifiers registered by<o:socket>
.SocketChannelManager.ViewScope This helps the web socket channel manager to hold view scoped web socket channel identifiers registered by<o:socket>
.SocketEndpoint This web socket server endpoint handles web socket requests coming from<o:socket>
.SocketEvent This web socket event will be fired bySocketSessionManager
when a socket has been@
SocketEvent.Opened
,@
SocketEvent.Switched
or@
SocketEvent.Closed
.SocketFacesListener This Faces listener forUIViewRoot
ensures that the necessary JavaScript code to open or close theWebSocket
is properly rendered.SocketPushContext SocketPushContextProducer SocketSessionManager This web socket session manager holds all web socket sessions by their channel identifier.SocketUserManager This web socket user manager holds all web socket users registered by<o:socket>
. -
Annotation Types Summary Annotation Type Description SocketEvent.Closed Indicates that a socket has closed.SocketEvent.Opened Indicates that a socket has opened.SocketEvent.Switched Indicates that a socket user was switched.