Interface ResourcePositionReceiver
- All Superinterfaces:
OsidReceiver
The resource location receiver is the consumer supplied interface for receiving notifications pertaining to position changes of resources.
-
Method Summary
Modifier and TypeMethodDescriptionvoidenteredSpatialUnit(Id notificationId, Id resourceId, SpatialUnit spatialUnit) The callback for notifications of resources entering spatial units.voidexitedSpatialUnit(Id notificationId, Id resourceId, SpatialUnit spatialUnit) The callback for notifications of resources exiting spatial units.voidmovedResource(Id notificationId, Id resourceId, Coordinate coordinate) The callback for notifications of resources entering locations.Methods inherited from interface OsidReceiver
down, up
-
Method Details
-
movedResource
The callback for notifications of resources entering locations.- Parameters:
notificationId- the notificationIdresourceId- theIdof theResourcecoordinate- theIdof theCoordinate- Compliance:
mandatory- This method must be implemented.
-
enteredSpatialUnit
The callback for notifications of resources entering spatial units.- Parameters:
notificationId- the notificationIdresourceId- theIdof theResourcespatialUnit- theIdof theSpatialUnit- Compliance:
mandatory- This method must be implemented.
-
exitedSpatialUnit
The callback for notifications of resources exiting spatial units.- Parameters:
notificationId- the notificationIdresourceId- theIdof theResourcespatialUnit- theIdof theSpatialUnit- Compliance:
mandatory- This method must be implemented.
-