public interface ResourceVelocityReceiver extends OsidReceiver
The resource route receiver is the consumer supplied interface for receiving notifications pertaining to changes of resource velocities.
| Modifier and Type | Method and Description |
|---|---|
void |
changedResourceVelocity(Id resourceId,
Speed speed,
Heading heading)
The callback for notifications of resources changing speed or
direction.
|
void |
movingResource(Id resourceId)
The callback for notifications of moving resources.
|
void |
stoppedResource(Id resourceId)
The callback for notifications of stopped resources.
|
down, upvoid movingResource(Id resourceId)
resourceId - the Id of the Resource
mandatory - This method must be implemented. void stoppedResource(Id resourceId)
resourceId - the Id of the Resource
mandatory - This method must be implemented. void changedResourceVelocity(Id resourceId, Speed speed, Heading heading)
resourceId - the Id of the Resource
speed - the speedheading - the headingmandatory - This method must be implemented.