Interface RequestHandler

    • Method Detail

      • setOwner

        void setOwner​(RemoteScriptingEngine value)
        Sets the owning engine.
        Parameters:
        value - the owner
      • getOwner

        RemoteScriptingEngine getOwner()
        Returns the owning engine.
        Returns:
        the owner, null if none set
      • requestSuccessful

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

        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

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