Package org.powertac.common.msg
Class OrderStatus
- java.lang.Object
-
- org.powertac.common.state.XStreamStateLoggable
-
- org.powertac.common.msg.OrderStatus
-
@Domain(fields={"broker","orderId","status"}) public class OrderStatus extends XStreamStateLoggable
Represents a response from the server about an Order that could not be processed by the Auctioneer.- Author:
- John Collins
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrderStatus.Status
-
Constructor Summary
Constructors Constructor Description OrderStatus(Broker broker, long orderId)
Convenience constructor for timeslotDisabled messageOrderStatus(Broker broker, long orderId, OrderStatus.Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Broker
getBroker()
long
getId()
long
getOrderId()
OrderStatus.Status
getStatus()
-
Methods inherited from class org.powertac.common.state.XStreamStateLoggable
readResolve
-
-
-
-
Field Detail
-
id
@XStreamAsAttribute protected long id
-
broker
@XStreamConverter(BrokerConverter.class) protected Broker broker
The broker originating this message
-
-
Constructor Detail
-
OrderStatus
public OrderStatus(Broker broker, long orderId, OrderStatus.Status status)
-
OrderStatus
@ChainedConstructor public OrderStatus(Broker broker, long orderId)
Convenience constructor for timeslotDisabled message
-
-
Method Detail
-
getId
public long getId()
-
getBroker
public Broker getBroker()
-
getStatus
public OrderStatus.Status getStatus()
-
getOrderId
public long getOrderId()
-
-