public abstract class PriceUpdateEvent extends AgentEvent
| Constructor and Description |
|---|
PriceUpdateEvent(java.lang.String clusterId,
java.lang.String agentId,
java.lang.String sessionId,
java.util.Date timestamp,
PriceUpdate priceUpdate)
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
PriceUpdate |
getPriceUpdate() |
java.lang.String |
getSessionId() |
java.lang.String |
toString() |
getAgentId, getClusterId, getTimestamppublic PriceUpdateEvent(java.lang.String clusterId,
java.lang.String agentId,
java.lang.String sessionId,
java.util.Date timestamp,
PriceUpdate priceUpdate)
clusterId - The id of the cluster the AgentEndpoint subclass sending the UpdateEvent is running in.agentId - The id of the AgentEndpoint subclass sending the UpdateEvent.sessionId - The id of the Session of the AgentEndpoint subclass sending the UpdateEventtimestamp - The time at which this event occurredpriceUpdate - The received PriceUpdate.public PriceUpdate getPriceUpdate()
public java.lang.String getSessionId()
public java.lang.String toString()
toString in class AgentEvent