com.vaadin.flow.internal.

Class DebugWindowConnection

    • Method Detail

      • onConnect

        public void onConnect(org.atmosphere.cpr.AtmosphereResource resource)

        Description copied from interface: BrowserLiveReload

        Sets the web socket connection resource when it's established.

        Specified by:

        onConnect in interface BrowserLiveReload

        Parameters:

        resource - a web socket connection resource, not null.

      • onDisconnect

        public void onDisconnect(org.atmosphere.cpr.AtmosphereResource resource)

        Description copied from interface: BrowserLiveReload

        Removes the web socket connection resource, not null.

        Specified by:

        onDisconnect in interface BrowserLiveReload

        Parameters:

        resource - a web socket connection resource

      • isLiveReload

        public boolean isLiveReload(org.atmosphere.cpr.AtmosphereResource resource)

        Description copied from interface: BrowserLiveReload

        Returns whether the passed connection is a browser live-reload connection.

        Specified by:

        isLiveReload in interface BrowserLiveReload

        Parameters:

        resource - a web socket connection resource, not null.

        Returns:

        whether the web socket connection is for live reload

      • onMessage

        public void onMessage(org.atmosphere.cpr.AtmosphereResource resource,
                              String message)

        Description copied from interface: BrowserLiveReload

        Called when any message is received through the connection.

        Specified by:

        onMessage in interface BrowserLiveReload

        Parameters:

        resource - the atmosphere resource that received the message

        message - the received message