|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.common.msg.TimeslotUpdate
public class TimeslotUpdate
Message type that communicates to brokers the set of timeslots that are "open" for trading. These are the timeslots that will be considered in the next market clearing. Shouts for other timeslots will be silently discarded.
| Constructor Summary | |
|---|---|
TimeslotUpdate(org.joda.time.Instant postedTime,
int firstEnabled,
int lastEnabled)
|
|
| Method Summary | |
|---|---|
int |
getFirstEnabled()
Returns the serial number of the first enabled timeslot. |
long |
getId()
|
int |
getLastEnabled()
Returns the serial number of the first enabled timeslot. |
org.joda.time.Instant |
getPostedTime()
|
int |
size()
Returns the number of enabled timeslots. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeslotUpdate(org.joda.time.Instant postedTime,
int firstEnabled,
int lastEnabled)
| Method Detail |
|---|
public long getId()
public org.joda.time.Instant getPostedTime()
public int getFirstEnabled()
public int getLastEnabled()
public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||