Interface MainScriptingEngine

    • Method Detail

      • registerWorker

        void registerWorker​(Connection conn)
        Registers a worker with the given connection.
        Parameters:
        conn - the connection of the worker
      • deregisterWorker

        void deregisterWorker​(Connection conn)
        Deregisters a worker with the given connection.
        Parameters:
        conn - the connection of the worker
      • killWorkers

        void killWorkers()
        Kills all workers registered.
      • sendCommand

        String sendCommand​(RemoteCommand cmd)
        Sends the command to a worker.
        Parameters:
        cmd - the command to send
        Returns:
        null if successful, otherwise error message