vgrid.web.plodder
Class HttpPlodderSrvProxy

java.lang.Object
  extended by vgrid.web.AbstractHttpSrvProxy
      extended by vgrid.web.plodder.HttpPlodderSrvProxy
All Implemented Interfaces:
PlodderServer

public class HttpPlodderSrvProxy
extends AbstractHttpSrvProxy
implements PlodderServer

This class accesses a server via http. It's main purpose is to maintain the server without having to worry about details concerning the net connection.


Field Summary
 
Fields inherited from class vgrid.web.AbstractHttpSrvProxy
app, host, LIB, logger, port, RECEIVE_COMMAND, RECEIVE_ERROR_TASK, RECEIVE_FINISHED_TASK, RECEIVE_LIB, RECEIVE_UNFINISHED_TASK, sutil
 
Constructor Summary
HttpPlodderSrvProxy(java.lang.String host, java.lang.String port, java.lang.String app)
           
 
Method Summary
 Task getTask()
          Returns a task for execution.
 void setTaskErrorneus(Task task)
          Returns a task to the server that caused an error during execution.
 void setTaskFinished(Task task)
          Returns a task to the server that has finished its execution. during execution.
 void setTaskUnfinished(Task task)
          Returns a task to the server that is not yet finished.
 
Methods inherited from class vgrid.web.AbstractHttpSrvProxy
getApp, getDescription, getHost, getLibraryUrls, getPort, info, performCommandRequest, performCommandRequest, performGetTaskRequest, performSetStreamRequest, setApp, setErrorTask, setFinishedTask, setHost, setPort, setUnfinishedTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vgrid.plodder.PlodderServer
getDescription
 

Constructor Detail

HttpPlodderSrvProxy

public HttpPlodderSrvProxy(java.lang.String host,
                           java.lang.String port,
                           java.lang.String app)
Method Detail

getTask

public Task getTask()
Description copied from interface: PlodderServer
Returns a task for execution.

Specified by:
getTask in interface PlodderServer

setTaskFinished

public void setTaskFinished(Task task)
                     throws VgridException
Description copied from interface: PlodderServer
Returns a task to the server that has finished its execution. during execution.

Specified by:
setTaskFinished in interface PlodderServer
Throws:
VgridException

setTaskErrorneus

public void setTaskErrorneus(Task task)
                      throws VgridException
Description copied from interface: PlodderServer
Returns a task to the server that caused an error during execution.

Specified by:
setTaskErrorneus in interface PlodderServer
Throws:
VgridException

setTaskUnfinished

public void setTaskUnfinished(Task task)
                       throws VgridException
Description copied from interface: PlodderServer
Returns a task to the server that is not yet finished.

Specified by:
setTaskUnfinished in interface PlodderServer
Throws:
VgridException


vgrid the vienna grid project