public interface ResourceLocationReceiver extends OsidReceiver
The resource location receiver is the consumer supplied interface for receiving notifications pertaining to location changes of resources.
| Modifier and Type | Method and Description |
|---|---|
void |
enteredLocation(Id notificationId,
Id locationId,
Id resourceId)
The callback for notifications of resources entering locations.
|
void |
exitedLocation(Id notificationId,
Id routeId,
Id resourceId)
The callback for notifications of resources exiting locations.
|
void |
newResourceCoordinate(Id notificationId,
Coordinate coordinate,
Id resourceId)
The callback for notifications of resources changing coordinates.
|
down, upvoid enteredLocation(Id notificationId, Id locationId, Id resourceId)
notificationId - the notification Id locationId - the Id of the Location
resourceId - the Id of the Resource
mandatory - This method must be implemented. void exitedLocation(Id notificationId, Id routeId, Id resourceId)
notificationId - the notification Id routeId - the Id of the Location resourceId - the Id of the Resource
mandatory - This method must be implemented. void newResourceCoordinate(Id notificationId, Coordinate coordinate, Id resourceId)
notificationId - the notification Id coordinate - the new coordinateresourceId - the Id of the Resource
mandatory - This method must be implemented.