Interface SdcDeviceFactory


  • public interface SdcDeviceFactory
    Factory to create SDC compatible devices.
    • Method Detail

      • createSdcDevice

        SdcDevice createSdcDevice​(DeviceSettings deviceSettings,
                                  LocalMdibAccess mdibAccess,
                                  Collection<OperationInvocationReceiver> operationInvocationReceivers,
                                  Collection<SdcDevicePlugin> plugins)
        Creates a new SdcDevice instance.
        Parameters:
        deviceSettings - the DPPWS device settings to use.
        mdibAccess - the MDIB to be exposed on the network.
        operationInvocationReceivers - callback interceptors for incoming set service requests.
        plugins - SdcRequiredTypesAndScopes if the collection is empty or custom plugins to run on start up and shut down in the order given by this collection. Make sure plugins are independent to each other. Also make sure that at least the SdcRequiredTypesAndScopes or a functionally equivalent plugin is loaded. See SdcDevicePlugin for more details.
        Returns:
        a new SdcDevice. Use AbstractIdleService.startAsync() in order to start exposing the device on the network.