Interface BrowserMessageListener

    • Method Detail

      • getContext

        ClientMessageContext getContext()
        Returns the context for this listener.
        Returns:
        listener's context
      • getId

        java.lang.String getId()
        Returns the unique ID for this listener.
        Returns:
        listener's unique ID
      • handleMessage

        void handleMessage​(BrowserMessage message)
        Handles the given message, usually by parsing the parameters and calling the appropriate operation.
        Parameters:
        message - holds all message information
      • setContext

        void setContext​(ClientMessageContext context)
        Sets the context for this listener. Called by its dispatcher when attached.
        Parameters:
        context - the new context for this listener