Class HighPriorityServices
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractIdleService
-
- org.somda.sdc.dpws.device.WebService
-
- org.somda.sdc.glue.provider.services.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOperationInvocationReceiver(OperationInvocationReceiver receiver)Registers an object that possesses callback functions for incoming set service requests.<T extends AbstractState>
voidsendPeriodicStateReport(List<T> states, MdibVersion mdibVersion)Sends a periodic state report.-
Methods inherited from class org.somda.sdc.dpws.device.WebService
sendNotification, shutDown, startUp, subscriptionEndToAll
-
-
-
-
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 withIncomingSetServiceRequest.- 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.
-
-