Class HighPriorityServices

  • All Implemented Interfaces:
    com.google.common.util.concurrent.Service, EventSourceAccess, Interceptor

    public class HighPriorityServices
    extends WebService
    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

    todo DGr tests are missing

    • Method Detail

      • addOperationInvocationReceiver

        public void addOperationInvocationReceiver​(OperationInvocationReceiver receiver)
        Registers an object that possesses callback functions for incoming set service requests.
        Parameters:
        receiver - the object that includes methods annotated with IncomingSetServiceRequest.
        See Also:
        ScoController
      • sendPeriodicStateReport

        public <T extends AbstractState> void sendPeriodicStateReport​(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.

        Type Parameters:
        T - the state type.
        Parameters:
        states - the states that are supposed to be notified.
        mdibVersion - the MDIB version the report belongs to.