Class MultiHandler

    • Field Detail

    • Constructor Detail

      • MultiHandler

        public MultiHandler()
    • Method Detail

      • setHandlers

        public void setHandlers​(ResponseHandler[] value)
        Sets the handlers to use.
        Parameters:
        value - the handlers
      • getHandlers

        public ResponseHandler[] getHandlers()
        Returns the handlers in use.
        Returns:
        the handlers
      • addHandler

        public void addHandler​(ResponseHandler value)
        Adds the handler to use.
        Parameters:
        value - the handler to add
      • handlersTipText

        public String handlersTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • responseSuccessful

        public void responseSuccessful​(RemoteCommand cmd)
        Handles successful responses.
        Parameters:
        cmd - the command with the response
      • responseFailed

        public void responseFailed​(RemoteCommand cmd,
                                   String msg)
        Handles failed responses.
        Parameters:
        cmd - the command with the response
        msg - message, can be null