Class MprPushConnection

java.lang.Object
com.vaadin.mpr.core.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:
  • Constructor Details

    • MprPushConnection

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

    • 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