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 resourceId,
SpatialUnit spatialUnit)
The callback for notifications of resources entering spatial units.
|
void |
exitedSpatialUnit(Id resourceId,
SpatialUnit spatialUnit)
The callback for notifications of resources exiting spatial units.
|
void |
movedResource(Id resourceId,
Coordinate coordinate)
The callback for notifications of resources entering locations.
|
down, up
void movedResource(Id resourceId, Coordinate coordinate)
resourceId
- the Id
of the Resource
coordinate
- the Id
of the Coordinate
mandatory
- This method must be implemented. void enteredSpatialUnit(Id resourceId, SpatialUnit spatialUnit)
resourceId
- the Id
of the Resource
spatialUnit
- the Id
of the SpatialUnit
mandatory
- This method must be implemented. void exitedSpatialUnit(Id resourceId, SpatialUnit spatialUnit)
resourceId
- the Id
of the Resource
spatialUnit
- the Id
of the SpatialUnit
mandatory
- This method must be implemented.