Interface SdcDeviceFactory
-
public interface SdcDeviceFactoryFactory to create SDC compatible devices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SdcDevicecreateSdcDevice(DeviceSettings deviceSettings, LocalMdibAccess mdibAccess, Collection<OperationInvocationReceiver> operationInvocationReceivers, Collection<SdcDevicePlugin> plugins)Creates a new SdcDevice instance.
-
-
-
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-SdcRequiredTypesAndScopesif 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 theSdcRequiredTypesAndScopesor a functionally equivalent plugin is loaded. SeeSdcDevicePluginfor more details.- Returns:
- a new
SdcDevice. UseAbstractIdleService.startAsync()in order to start exposing the device on the network.
-
-