Package org.somda.sdc.dpws.device
Interface EventSourceAccess
-
- All Implemented Interfaces:
public interface EventSourceAccessInterface to access event source functionality provided by a Device.
-
-
Method Summary
Modifier and Type Method Description abstract voidsendNotification(String action, Object payload)Sends a notification to all subscribers. abstract voidsubscriptionEndToAll(WsEventingStatus status)Sends a subscription end message to all subscribers and shut down connected subscriptions. -
-
Method Detail
-
sendNotification
abstract void sendNotification(String action, Object payload)
Sends a notification to all subscribers.
- Parameters:
action- the action the notification complies with.payload- the message payload that is tried to be marshalled and delivered.
-
subscriptionEndToAll
abstract void subscriptionEndToAll(WsEventingStatus status)
Sends a subscription end message to all subscribers and shut down connected subscriptions.
- Parameters:
status- reason for ending the subscriptions.
-
-
-
-