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 locationId,
Id resourceId)
The callback for notifications of resources entering locations.
|
void |
exitedLocation(Id routeId,
Id resourceId)
The callback for notifications of resources exiting locations.
|
void |
newResourceCoordinate(Coordinate coordinate,
Id resourceId)
The callback for notifications of resources changing coordinates.
|
down, up
void enteredLocation(Id locationId, Id resourceId)
locationId
- the Id
of the Location
resourceId
- the Id
of the Resource
mandatory
- This method must be implemented. void exitedLocation(Id routeId, Id resourceId)
routeId
- the Id
of the Location
resourceId
- the Id
of the Resource
mandatory
- This method must be implemented. void newResourceCoordinate(Coordinate coordinate, Id resourceId)
coordinate
- the new coordinateresourceId
- the Id
of the Resource
mandatory
- This method must be implemented.