org.gwe.api
Interface ServerAPI4Agent

All Superinterfaces:
PulsingServerAPI, java.rmi.Remote
All Known Implementing Classes:
ServerAPI4AgentImpl

public interface ServerAPI4Agent
extends PulsingServerAPI

Since:
Aug 15, 2007
Author:
Marco Ruiz

Field Summary
 
Fields inherited from interface org.gwe.api.PulsingServerAPI
DEFAULT_HEART_BEAT_PERIOD
 
Method Summary
 DaemonRequest<?> getNextRequest(int allocId)
           
 DaemonRequest<?> getNextRequestAgain(int allocId)
           
 boolean reportAgentProblem(int allocationId, java.lang.Exception exc)
           
 boolean reportRequestCompletion(int allocationId, java.lang.String execId, java.io.Serializable result)
           
 boolean reserveAllocation(int allocationId, ComputeResourceInfo compRes)
           
 
Methods inherited from interface org.gwe.api.PulsingServerAPI
heartBeat
 

Method Detail

reserveAllocation

boolean reserveAllocation(int allocationId,
                          ComputeResourceInfo compRes)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNextRequest

DaemonRequest<?> getNextRequest(int allocId)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNextRequestAgain

DaemonRequest<?> getNextRequestAgain(int allocId)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

reportRequestCompletion

boolean reportRequestCompletion(int allocationId,
                                java.lang.String execId,
                                java.io.Serializable result)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

reportAgentProblem

boolean reportAgentProblem(int allocationId,
                           java.lang.Exception exc)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 2007-2009. All Rights Reserved.