Interface SlaveService

All Superinterfaces:
Remote

public interface SlaveService extends Remote
Slave Service Interface

This interface references the remote methods that are required to be implemented on each DECS-Slave instance.

Version:
1.0
Author:
Bruno Guiomar
  • Method Details

    • checkStatus

      boolean checkStatus() throws RemoteException
      Checks the status of a connected DECS-Slave instance
      Returns:
      Liveliness of the node
      Throws:
      RemoteException - If the slave instance cannot be reached or any communication error is raised.
    • getSystemInformation

      SystemInformation getSystemInformation() throws RemoteException
      Retrieves the system information of the slave instance
      Returns:
      System information object
      Throws:
      RemoteException - If the slave instance cannot be reached or any communication error is raised.
    • setupProblemEnvironment

      boolean setupProblemEnvironment(ArrayList<JobFile> jobFiles, String problemCode, String distribution) throws RemoteException
      Sets up the execution environment in the Slave instance
      Parameters:
      jobFiles - List of the files to be transfered
      problemCode - Problem short code
      distribution - Problem distribution type
      Returns:
      Status of the operation
      Throws:
      RemoteException - If the slave instance cannot be reached or any communication error is raised.
    • startInference

      boolean startInference(String problemCode) throws RemoteException
      Starts the inference process on each connected slave
      Parameters:
      problemCode - Problem short code
      Returns:
      Status of the operation
      Throws:
      RemoteException - If the slave instance cannot be reached or any communication error is raised.
    • stopInference

      boolean stopInference() throws RemoteException
      Stops the inference process on each connected slave
      Returns:
      Status of the operation
      Throws:
      RemoteException - If the slave instance cannot be reached or any communication error is raised.