Interface ResponseHandler

    • 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
      • responseSuccessful

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

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