Class HighPriorityServices
-
- All Implemented Interfaces:
-
com.google.common.util.concurrent.Service,org.somda.sdc.dpws.device.EventSourceAccess,org.somda.sdc.dpws.soap.interception.Interceptor
public class HighPriorityServices extends WebService implements EventSourceAccessImplementation of the high-priority services.
High-priority services are all services that provide time-critical data:
- Get service
- Set service
- Description event service
- State event service
- Context service
- Waveform service
- Containment tree service
-
-
Method Summary
Modifier and Type Method Description <T extends AbstractState> voidsendPeriodicStateReport(Map<String, List<T>> states, MdibVersion mdibVersion)Sends a periodic state report. voidsendNotification(String action, Object payload)voidsubscriptionEndToAll(WsEventingStatus status)-
Methods inherited from class org.somda.sdc.dpws.device.WebService
getEventSources, registerEventSource -
Methods inherited from class com.google.common.util.concurrent.AbstractIdleService
addListener, awaitRunning, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
sendPeriodicStateReport
<T extends AbstractState> void sendPeriodicStateReport(Map<String, List<T>> states, MdibVersion mdibVersion)
Sends a periodic state report.
This function does not control periodicity. Periodicity has to be controlled by the calling function.
- Parameters:
states- map with mds as key and lists of the states that are supposed to be notified as value.mdibVersion- the MDIB version the report belongs to.
-
sendNotification
void sendNotification(String action, Object payload)
-
subscriptionEndToAll
void subscriptionEndToAll(WsEventingStatus status)
-
-
-
-