@Alternative public class MockUpnpServiceConfiguration extends DefaultUpnpServiceConfiguration
DefaultUpnpServiceConfiguration.ClingExecutor, DefaultUpnpServiceConfiguration.ClingThreadFactory
Modifier and Type | Field and Description |
---|---|
protected boolean |
maintainsRegistry |
protected boolean |
multiThreaded |
Constructor and Description |
---|
MockUpnpServiceConfiguration()
Does not maintain registry, single threaded execution.
|
MockUpnpServiceConfiguration(boolean maintainsRegistry)
Single threaded execution.
|
MockUpnpServiceConfiguration(boolean maintainsRegistry,
boolean multiThreaded) |
Modifier and Type | Method and Description |
---|---|
protected NetworkAddressFactory |
createNetworkAddressFactory(int streamListenPort) |
protected ExecutorService |
getDefaultExecutorService() |
Executor |
getRegistryMaintainerExecutor() |
boolean |
isMaintainsRegistry() |
boolean |
isMultiThreaded() |
createDatagramIO, createDatagramProcessor, createDefaultExecutorService, createDeviceDescriptorBinderUDA10, createGENAEventProcessor, createMulticastReceiver, createNamespace, createNetworkAddressFactory, createServiceDescriptorBinderUDA10, createSOAPActionProcessor, createStreamClient, createStreamServer, getAliveIntervalMillis, getAsyncProtocolExecutor, getDatagramIOExecutor, getDatagramProcessor, getDescriptorRetrievalHeaders, getDeviceDescriptorBinderUDA10, getEventSubscriptionHeaders, getExclusiveServiceTypes, getGenaEventProcessor, getMulticastReceiverExecutor, getNamespace, getRegistryListenerExecutor, getRegistryMaintenanceIntervalMillis, getRemoteDeviceMaxAgeSeconds, getServiceDescriptorBinderUDA10, getSoapActionProcessor, getStreamServerExecutorService, getSyncProtocolExecutorService, isReceivedSubscriptionTimeoutIgnored, shutdown
protected final boolean maintainsRegistry
protected final boolean multiThreaded
public MockUpnpServiceConfiguration()
public MockUpnpServiceConfiguration(boolean maintainsRegistry)
public MockUpnpServiceConfiguration(boolean maintainsRegistry, boolean multiThreaded)
public boolean isMaintainsRegistry()
public boolean isMultiThreaded()
protected NetworkAddressFactory createNetworkAddressFactory(int streamListenPort)
createNetworkAddressFactory
in class DefaultUpnpServiceConfiguration
public Executor getRegistryMaintainerExecutor()
getRegistryMaintainerExecutor
in interface UpnpServiceConfiguration
getRegistryMaintainerExecutor
in class DefaultUpnpServiceConfiguration
protected ExecutorService getDefaultExecutorService()
getDefaultExecutorService
in class DefaultUpnpServiceConfiguration
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.