Class SocketFacesListener

    • Constructor Detail

      • SocketFacesListener

        public SocketFacesListener()
    • Method Detail

      • processEvent

        public void processEvent​(SystemEvent event)
        If the socket has just switched the connected attribute, then render either the open() script or the close() script. During an ajax request with partial rendering, it's added as <eval> by partial response writer, else it's just added as a script component with target="body". Those scripts will in turn hit SocketEndpoint.
        Specified by:
        processEvent in interface SystemEventListener