org.powertac.common.msg
Class PauseRequest

java.lang.Object
  extended by org.powertac.common.msg.PauseRequest

public class PauseRequest
extends Object

This message is used by a broker to request a pause in the simulation. If the server is configured to allow broker-initiated pause, then the clock will be paused, either in the current timeslot if either the clock is already paused or if the watchdog timer has not run out, or in the succeeding timeslot. In the last two instances, the server will send out a sim-pause message in response. Since this is a tool for experimentation and debugging, there is no time limit on the pause. To release a requested pause, the same broker must submit a pause-release message, which will in turn result in a sim-resume message giving the updated start time.

Author:
John Collins

Constructor Summary
PauseRequest(Broker broker)
           
 
Method Summary
 Broker getBroker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PauseRequest

public PauseRequest(Broker broker)
Method Detail

getBroker

public Broker getBroker()


Copyright © 2011. All Rights Reserved.