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 EventSourceAccess
                        

    Implementation 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
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <T extends AbstractState> void sendPeriodicStateReport(Map<String, List<T>> states, MdibVersion mdibVersion) Sends a periodic state report.
      void sendNotification(String action, Object payload)
      void subscriptionEndToAll(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
    • Constructor Detail

    • 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.