public class MprPushConnection extends Object implements com.vaadin.server.communication.PushConnection
PushConnection MPR adapter. Utilizes
PushConnection from Flow to manage the actual connection.| Constructor and Description |
|---|
MprPushConnection(com.vaadin.flow.component.UI flowUI)
Creates the push connection adapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
boolean |
isConnected() |
void |
push() |
public MprPushConnection(com.vaadin.flow.component.UI flowUI)
flowUI - the Flow UI, not nullpublic void push()
push in interface com.vaadin.server.communication.PushConnectionpublic void disconnect()
disconnect in interface com.vaadin.server.communication.PushConnectionpublic boolean isConnected()
isConnected in interface com.vaadin.server.communication.PushConnectionCopyright © 2018–2023 Vaadin Ltd. All rights reserved.