Class SimpleLogPanelRequestHandler

    • Constructor Detail

      • SimpleLogPanelRequestHandler

        public SimpleLogPanelRequestHandler()
    • Method Detail

      • setLog

        public void setLog​(SimpleLogPanel value)
        Sets the log to use.
        Parameters:
        value - the log
      • getLog

        public SimpleLogPanel getLog()
        Returns the log in use.
        Returns:
        the log
      • requestSuccessful

        public void requestSuccessful​(RemoteCommand cmd)
        Handles successfuly requests.
        Parameters:
        cmd - the command with the request
      • requestFailed

        public void requestFailed​(RemoteCommand cmd,
                                  String msg)
        Handles failed requests.
        Parameters:
        cmd - the command with the request
        msg - the optional error message, can be null
      • requestRejected

        public void requestRejected​(RemoteCommand cmd,
                                    String msg)
        Handles rejected requests.
        Parameters:
        cmd - the command with the request
        msg - the optional error message, can be null