Class MprPushConnection

  • All Implemented Interfaces:
    com.vaadin.server.communication.PushConnection, Serializable

    public class MprPushConnection
    extends Object
    implements com.vaadin.server.communication.PushConnection
    PushConnection MPR adapter. Utilizes PushConnection from Flow to manage the actual connection.
    See Also:
    Serialized Form
    • Constructor Detail

      • MprPushConnection

        public MprPushConnection​(com.vaadin.flow.component.UI flowUI)
        Creates the push connection adapter.
        Parameters:
        flowUI - the Flow UI, not null
    • Method Detail

      • push

        public void push()
        Specified by:
        push in interface com.vaadin.server.communication.PushConnection
      • disconnect

        public void disconnect()
        Specified by:
        disconnect in interface com.vaadin.server.communication.PushConnection
      • isConnected

        public boolean isConnected()
        Specified by:
        isConnected in interface com.vaadin.server.communication.PushConnection