Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.fourthline.cling.mock
Class MockUpnpServiceConfiguration

    java.lang.Object
      org.fourthline.cling.DefaultUpnpServiceConfiguration
          org.fourthline.cling.mock.MockUpnpServiceConfiguration

All Implemented Interfaces:
  UpnpServiceConfiguration

    @Alternative
    public class MockUpnpServiceConfiguration

extends DefaultUpnpServiceConfiguration

Author:
  Christian Bauer

Nested Class Summary

Nested classes/interfaces inherited from class org.fourthline.cling.DefaultUpnpServiceConfiguration
`DefaultUpnpServiceConfiguration.ClingExecutor, DefaultUpnpServiceConfiguration.ClingThreadFactory`

Field Summary
`protected boolean` | `maintainsRegistry`
`protected boolean` | `multiThreaded`

Constructor Summary
`MockUpnpServiceConfiguration()` Does not maintain registry, single threaded execution.
`MockUpnpServiceConfiguration(boolean maintainsRegistry)` Single threaded execution.
`MockUpnpServiceConfiguration(boolean maintainsRegistry, boolean multiThreaded)`

Method Summary
`protected Executor` | `createDefaultExecutor()`
`protected NetworkAddressFactory` | `createNetworkAddressFactory(int streamListenPort)`
`Executor` | `getRegistryMaintainerExecutor()`
`boolean` | `isMaintainsRegistry()`
`boolean` | `isMultiThreaded()`

Methods inherited from class org.fourthline.cling.DefaultUpnpServiceConfiguration
`createDatagramIO, createDatagramProcessor, createDeviceDescriptorBinderUDA10, createGENAEventProcessor, createMulticastReceiver, createNamespace, createNetworkAddressFactory, createServiceDescriptorBinderUDA10, createSOAPActionProcessor, createStreamClient, createStreamServer, getAliveIntervalMillis, getAsyncProtocolExecutor, getDatagramIOExecutor, getDatagramProcessor, getDefaultExecutor, getDescriptorRetrievalHeaders, getDeviceDescriptorBinderUDA10, getEventSubscriptionHeaders, getExclusiveServiceTypes, getGenaEventProcessor, getMulticastReceiverExecutor, getNamespace, getRegistryListenerExecutor, getRegistryMaintenanceIntervalMillis, getRemoteDeviceMaxAgeSeconds, getServiceDescriptorBinderUDA10, getSoapActionProcessor, getStreamServerExecutor, getSyncProtocolExecutor, isReceivedSubscriptionTimeoutIgnored, shutdown`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### maintainsRegistry

    protected final boolean maintainsRegistry

### multiThreaded

    protected final boolean multiThreaded

Constructor Detail

### MockUpnpServiceConfiguration

    public MockUpnpServiceConfiguration()

  Does not maintain registry, single threaded execution.

### MockUpnpServiceConfiguration

    public MockUpnpServiceConfiguration(boolean maintainsRegistry)

  Single threaded execution.

### MockUpnpServiceConfiguration

    public MockUpnpServiceConfiguration(boolean maintainsRegistry,
                                        boolean multiThreaded)

Method Detail

### isMaintainsRegistry

    public boolean isMaintainsRegistry()

### isMultiThreaded

    public boolean isMultiThreaded()

### createNetworkAddressFactory

    protected NetworkAddressFactory createNetworkAddressFactory(int streamListenPort)

  Overrides:
    `createNetworkAddressFactory` in class `DefaultUpnpServiceConfiguration`

### getRegistryMaintainerExecutor

    public Executor getRegistryMaintainerExecutor()

  Specified by:
    `getRegistryMaintainerExecutor` in interface `UpnpServiceConfiguration`
  Overrides:
    `getRegistryMaintainerExecutor` in class `DefaultUpnpServiceConfiguration`
  Returns:
    The executor which runs the background thread for maintainting the registry.

### createDefaultExecutor

    protected Executor createDefaultExecutor()

  Overrides:
    `createDefaultExecutor` in class `DefaultUpnpServiceConfiguration`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.