Measurement Executor component
From GEANT2-JRA1 Wiki
The Measurement Executor component acts as a wrapper around all measurement tools. The specification of Measurement Executor in the Generic Service defines interfaces that should be implemented by all such wrappers. By following these interfaces, it is easier:
- for the Service Engine to understand the interfaces of such wrappers
- to design and develop different types of Measurement Point (MP) Services
- to split development effort onto different components and work in a parallel fashion
- and to switch from a particular implementation of Measurement Executor to another (different versions, for example) for the same MP Service
The UML for the generic Measurement Executor component is in the diagram below. It consists of three interfaces: MeasurementExecutor, MeasurementExecutorRequest, and MeasurementExecutorResponse. The MeasurementExecutor Interface defines only one operation: makeMeasurement(..).
The SNMP Implementation of Measurement Executor is shown in the UML below. All interfaces have been implemented. A 'SNMPTypeMERequestTypes' class has been introduced. This is because the MeasurementExecutorRequest interface consists of a string that denotes the type of request. The SNMPtypeMERequestTypes class provides a static list of request types that can be accepted by the SNMPM Measurement Executor. Also to be noted is the inheritance of org.ggf.ns.nmwg.Message object (versioning not shown, purposely). The SNMP Request object can contain the message object, which can be read as request by the SNMP Executor.
Sources for above diagrams (in .dia format)


