| Modifier and Type | Method and Description |
|---|---|
void |
endLatitudeUpdated(double latitude)
Invoked when the commodity's end latitude was updated by a message.
|
void |
endLongitudeUpdated(double longitude)
Invoked when the commodity's end longitude was updated by a message.
|
void |
metadataUpdated(JsonObject metadata)
Invoked when the commodity's metadata was updated by a message.
|
void |
routed(Route route)
Invoked when the commodity receives a routed message.
|
void |
startLatitudeUpdated(double latitude)
Invoked when the commodity's start latitude was updated by a message.
|
void |
startLongitudeUpdated(double longitude)
Invoked when the commodity's start longitude was updated by a message.
|
void |
statusUpdated(CommodityStatus status)
Invoked when the commodity's status was updated by a message.
|
connected, created, deleted, error, routeSubscribed, routeUnsubscribed, subscribed, unsubscribed, updatedvoid routed(Route route)
route - the commodity's new route.void startLatitudeUpdated(double latitude)
latitude - that the commodity updated to.void startLongitudeUpdated(double longitude)
longitude - that the commodity updated to.void endLatitudeUpdated(double latitude)
latitude - that the commodity updated to.void endLongitudeUpdated(double longitude)
longitude - that the commodity updated to.void statusUpdated(CommodityStatus status)
status - that the commodity updated to.void metadataUpdated(JsonObject metadata)
metadata - that the commodity updated to.