Interface ReturnChannelRegistration

    • Method Detail

      • getStateNodeId

        int getStateNodeId()
        Gets the id of the state node to which the return channel belongs.
        Returns:
        the state node id
      • getChannelId

        int getChannelId()
        Gets the id that identifies this channel within its state node.
        Returns:
        the channel id
      • invoke

        void invoke​(elemental.json.JsonArray arguments)
        Invokes the channel handler with the give arguments.
        Parameters:
        arguments - a JSON array containing passed from the client, not null
      • getDisabledUpdateMode

        DisabledUpdateMode getDisabledUpdateMode()
        Gets the setting for whether this channel will receive updates in case the state node is disabled. By default, updates are allowed only when the state node is enabled.
        Returns:
        the disabled update mode, not null
      • setDisabledUpdateMode

        ReturnChannelRegistration setDisabledUpdateMode​(DisabledUpdateMode disabledUpdateMode)
        Sets whether this channel will receive updates in case the state node is disabled.
        Parameters:
        disabledUpdateMode - the disabled update mode to use, not null
        Returns:
        this channel registration, for chaining