dcf.server
Class MainFrame

dcf.server.MainFrame

public class MainFrame

GUI for the server

Author:
Tal Salmona

Constructor Summary
MainFrame()
           
 
Method Summary
 void addMessage(dcf.server.String str)
          Adds a message to the message box
 dcf.server.HashMap getClients()
           
 dcf.server.HashMap getTimes()
           
static void main(dcf.server.String[] args)
           
 void setNewTask(Task tsk, Solver slv, dcf.server.String path)
          Used by the AddTaskDialog to add tasks.
 void setStatus(dcf.server.String str)
          Sets the text in the statusbar
 void setTasksList()
          Updates the tasks list.
 

Constructor Detail

MainFrame

public MainFrame()
Method Detail

main

public static void main(dcf.server.String[] args)

setTasksList

public void setTasksList()
Updates the tasks list.

setStatus

public void setStatus(dcf.server.String str)
Sets the text in the statusbar
Parameters:
str - The text to use

addMessage

public void addMessage(dcf.server.String str)
Adds a message to the message box
Parameters:
str - The text to add.

setNewTask

public void setNewTask(Task tsk,
                       Solver slv,
                       dcf.server.String path)
Used by the AddTaskDialog to add tasks.
Parameters:
tsk - The Task to add.
slv - The Solver to add.
path - The path to add to Classpath.

getClients

public dcf.server.HashMap getClients()
Returns:
The mapping of Tasks to Workers.

getTimes

public dcf.server.HashMap getTimes()
Returns:
The progress for each Task.




Distributed Computation Framework