Class NotifyingPushConnection
java.lang.Object
com.vaadin.flow.server.communication.AtmospherePushConnection
com.vaadin.kubernetes.starter.sessiontracker.push.NotifyingPushConnection
- All Implemented Interfaces:
com.vaadin.flow.server.communication.FragmentedMessageHolder
,com.vaadin.flow.server.communication.PushConnection
,Serializable
public class NotifyingPushConnection
extends com.vaadin.flow.server.communication.AtmospherePushConnection
AtmospherePushConnection that notifies listeners when a message has been
processed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Service loader implementation to provideNotifyingPushConnection
sNested classes/interfaces inherited from class com.vaadin.flow.server.communication.AtmospherePushConnection
com.vaadin.flow.server.communication.AtmospherePushConnection.FragmentedMessage, com.vaadin.flow.server.communication.AtmospherePushConnection.State
-
Constructor Summary
ConstructorsConstructorDescriptionNotifyingPushConnection
(com.vaadin.flow.component.UI ui) Creates an instance connected to the given UI. -
Method Summary
Methods inherited from class com.vaadin.flow.server.communication.AtmospherePushConnection
clearFragmentedMessage, connect, connectionLost, disconnect, enableAtmosphereDebugLogging, getAtmosphereVersion, getOrCreateFragmentedMessage, getResource, getState, getUI, isConnected, push, push, receiveMessage
-
Constructor Details
-
NotifyingPushConnection
public NotifyingPushConnection(com.vaadin.flow.component.UI ui) Creates an instance connected to the given UI.- Parameters:
ui
- the UI to which this connection belongs
-
-
Method Details
-
sendMessage
- Overrides:
sendMessage
in classcom.vaadin.flow.server.communication.AtmospherePushConnection
-