Class LoggingHandler

    • Constructor Detail

      • LoggingHandler

        public LoggingHandler()
    • Method Detail

      • 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