public class AggregatedBidEvent extends AgentEvent
AggregatedBidEvent is sent by a MatcherEndpoint, such as the Auctioneer, when a new aggregated
Bid is created. This event always contains the raw aggregated bid. Some concentrators might modify the
aggregated bid to achieve some target. If you are interested in the final bid, you should look at the
OutgoingBidUpdateEvent.| Constructor and Description |
|---|
AggregatedBidEvent(java.lang.String clusterId,
java.lang.String agentId,
java.util.Date timestamp,
Bid aggregatedBid)
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Bid |
getAggregatedBid() |
java.lang.String |
toString() |
getAgentId, getClusterId, getTimestamppublic AggregatedBidEvent(java.lang.String clusterId,
java.lang.String agentId,
java.util.Date timestamp,
Bid aggregatedBid)
clusterId - The id of the cluster the MatcherEndpoint subclass sending the UpdateEvent is running in.agentId - The id of the MatcherEndpoint subclass sending the UpdateEvent.timestamp - The time at which this event occurredaggregatedBid - The new Bid created by the MatcherEndpoint subclass.public Bid getAggregatedBid()
MatcherEndpoint.public java.lang.String toString()
toString in class AgentEvent