vgrid.dispense
Interface DispenserServer

All Known Implementing Classes:
HttpDispenserSrvProxy, LocalDispenserServer

public interface DispenserServer

Server from the view of a vendor.


Method Summary
 void addLibrary(java.io.File lib)
          Adds a library to the server.
 void addNewTask(Task task)
          Adds a new task to the server to be executed.
 void clear()
          Clear.
 java.lang.String getDescription()
           
 java.lang.String getId()
          Returns a unique id that can be used as tasks id.
 java.util.Collection retrieveErrorneousTasks(java.lang.String jobId)
          Returns a collection of tasks that are errorneus.
 java.util.Collection retrieveFinishedTasks(java.lang.String jobId)
          Returns a collection of tasks that are already finished.
 

Method Detail

addNewTask

void addNewTask(Task task)
                throws VgridException
Adds a new task to the server to be executed.

Throws:
VgridException

retrieveFinishedTasks

java.util.Collection retrieveFinishedTasks(java.lang.String jobId)
                                           throws VgridException
Returns a collection of tasks that are already finished. The finished tasks must have a taskid included in the taskIds collection.

Throws:
VgridException

retrieveErrorneousTasks

java.util.Collection retrieveErrorneousTasks(java.lang.String jobId)
                                             throws VgridException
Returns a collection of tasks that are errorneus. The tasks must have a taskid included in the taskIds collection.

Throws:
VgridException

getId

java.lang.String getId()
                       throws VgridException
Returns a unique id that can be used as tasks id.

Throws:
VgridException

addLibrary

void addLibrary(java.io.File lib)
                throws VgridException
Adds a library to the server.

Throws:
VgridException

clear

void clear()
Clear. Removes all Tasks and libraries from the server.


getDescription

java.lang.String getDescription()


vgrid the vienna grid project