public interface ResourcePositionReceiver extends OsidReceiver
The resource location receiver is the consumer supplied interface for receiving notifications pertaining to position changes of resources.
Modifier and Type | Method and Description |
---|---|
void |
enteredSpatialUnit(Id notificationId,
Id resourceId,
SpatialUnit spatialUnit)
The callback for notifications of resources entering spatial units.
|
void |
exitedSpatialUnit(Id notificationId,
Id resourceId,
SpatialUnit spatialUnit)
The callback for notifications of resources exiting spatial units.
|
void |
movedResource(Id notificationId,
Id resourceId,
Coordinate coordinate)
The callback for notifications of resources entering locations.
|
down, up
void movedResource(Id notificationId, Id resourceId, Coordinate coordinate)
notificationId
- the notification Id
resourceId
- the Id
of the Resource
coordinate
- the Id
of the Coordinate
mandatory
- This method must be implemented. void enteredSpatialUnit(Id notificationId, Id resourceId, SpatialUnit spatialUnit)
notificationId
- the notification Id
resourceId
- the Id
of the Resource
spatialUnit
- the Id
of the SpatialUnit
mandatory
- This method must be implemented. void exitedSpatialUnit(Id notificationId, Id resourceId, SpatialUnit spatialUnit)
notificationId
- the notification Id
resourceId
- the Id
of the Resource
spatialUnit
- the Id
of the SpatialUnit
mandatory
- This method must be implemented.