lbg.user
Class SimulatedUserAgent
java.lang.Object
lbg.user.UserAgent
lbg.user.SimulatedUserAgent
public class SimulatedUserAgent
- extends UserAgent
- Author:
- Cyril Briquet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimulatedUserAgent
public SimulatedUserAgent(java.lang.String id,
UserPeerHandle peer,
ISimulator sim)
throws GridException
- Throws:
GridException
toString
public java.lang.String toString()
- Overrides:
toString
in class UserAgent
service
public UserService service()
- Specified by:
service
in class UserAgent
submitJob
public int submitJob(JobDescriptor jd)
throws GridException
- Specified by:
submitJob
in class UserAgent
- Throws:
GridException
submittedJobs
public long submittedJobs()
- Specified by:
submittedJobs
in class UserAgent
completedJobs
public long completedJobs()
- Specified by:
completedJobs
in class UserAgent
hasRunningJobs
public boolean hasRunningJobs()
- Specified by:
hasRunningJobs
in class UserAgent
notifyCompletedTask
public void notifyCompletedTask(Task t)
throws GridException
- Specified by:
notifyCompletedTask
in class UserAgent
- Throws:
GridException
notifyCompletedJob
public void notifyCompletedJob(Task t)
throws GridException
- Specified by:
notifyCompletedJob
in class UserAgent
- Throws:
GridException
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.