Package com.vaadin.mpr.core
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 Summary
ConstructorsConstructorDescriptionMprPushConnection(com.vaadin.flow.component.UI flowUI) Creates the push connection adapter. -
Method Summary
-
Constructor Details
-
MprPushConnection
public MprPushConnection(com.vaadin.flow.component.UI flowUI) Creates the push connection adapter.- Parameters:
flowUI- the Flow UI, notnull
-
-
Method Details
-
push
public void push()- Specified by:
pushin interfacecom.vaadin.server.communication.PushConnection
-
disconnect
public void disconnect()- Specified by:
disconnectin interfacecom.vaadin.server.communication.PushConnection
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfacecom.vaadin.server.communication.PushConnection
-