lbg.simulator
Class EnvironmentController
java.lang.Object
lbg.simulator.EnvironmentController
public class EnvironmentController
- extends java.lang.Object
- Author:
- Cyril Briquet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EnvironmentController
public EnvironmentController(int peer_count)
throws GridException
- Throws:
GridException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setPeers
public void setPeers(Peer[] peers)
throws GridException
- Throws:
GridException
setNegotiatorAndScheduler
public void setNegotiatorAndScheduler(int peer_id,
Negotiator negotiator,
Scheduler scheduler)
throws GridException
- Throws:
GridException
notifyEnvironmentController
public void notifyEnvironmentController(int peer_id,
SchedulerController sched_ctrlr)
throws GridException
- Throws:
GridException
notifyEnvironmentController
public void notifyEnvironmentController(int peer_id,
NegotiatorController neg_ctrlr)
throws GridException
- Throws:
GridException
canScheduleAndNegotiate
public boolean canScheduleAndNegotiate()
scheduleAndNegotiate
public void scheduleAndNegotiate()
throws GridException
- Throws:
GridException
processSelfEvents
public void processSelfEvents()
throws GridException
- Throws:
GridException
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.