Interface ServerPush


  • public interface ServerPush
    A component implements this interface to receive push notifications
    • Method Detail

      • pushStarted

        void pushStarted​(PushHandle pushHandle,
                         java.util.Map<java.lang.String,​java.lang.String> parameters)
                  throws java.lang.Exception
        Called when client has started a push/websocket connection
        Parameters:
        pushHandle - push handle
        parameters - parameters from URL
        Throws:
        java.lang.Exception - when anything goes wrong in component
      • pushTerminated

        void pushTerminated​(PushHandle pushHandle)
                     throws java.lang.Exception
        Called when client has terminated push/websocket connection
        Parameters:
        pushHandle - push handle
        Throws:
        java.lang.Exception - when anything goes wrong in component