public interface ResourceRouteReceiver extends OsidReceiver
The resource route receiver is the consumer supplied interface for receiving notifications pertaining to changes of resources along routes.
| Modifier and Type | Method and Description |
|---|---|
void |
cancelledRoute(Id notificationId,
Id routeId,
Id resourceId)
The callback for notifications of resources cancelling routes.
|
void |
completedRoute(Id notificationId,
Id routeId,
Id resourceId)
The callback for notifications of resources completing routes.
|
void |
newRouteSegment(Id notificationId,
Id routeSegmentId,
Id resourceId)
The callback for notifications of resources beginning new route
segments.
|
void |
startedRoute(Id notificationId,
Id routeId,
Id resourceId)
The callback for notifications of resources starting on routes.
|
down, upvoid startedRoute(Id notificationId, Id routeId, Id resourceId)
notificationId - the notification Id routeId - the Id of the Route resourceId - the Id of the Resource
mandatory - This method must be implemented. void completedRoute(Id notificationId, Id routeId, Id resourceId)
notificationId - the notification Id routeId - the Id of the Route resourceId - the Id of the Resource
mandatory - This method must be implemented. void cancelledRoute(Id notificationId, Id routeId, Id resourceId)
notificationId - the notification Id routeId - the Id of the Route resourceId - the Id of the Resource
mandatory - This method must be implemented. void newRouteSegment(Id notificationId, Id routeSegmentId, Id resourceId)
notificationId - the notification Id routeSegmentId - the Id of the
RouteSegment resourceId - the Id of the Resource
mandatory - This method must be implemented.