public interface IPresenceNotificationStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
shouldGenerateEvent(IDeviceAssignment assignment,
IDeviceStateChangeCreateRequest request)
Based on the given data, chooses whether to store an event which will in
turn fire notifications to the outbound processing chain.
|
boolean shouldGenerateEvent(IDeviceAssignment assignment, IDeviceStateChangeCreateRequest request) throws SiteWhereException
assignment
- affected device assignmentrequest
- state change requestSiteWhereException
- if error in implementation