protected void shutdownConfiguration() { getConfiguration().shutdown(); }
public ControlPoint getControlPoint() { return upnpService.getControlPoint(); } }
protected ExecutorService createDefaultExecutorService() { return new DefaultUpnpServiceConfiguration.ClingExecutor(); } }
public UpnpServiceImpl() { this(new DefaultUpnpServiceConfiguration()); }
public Executor getMulticastReceiverExecutor() { return getDefaultExecutorService(); }
public Executor getMulticastReceiverExecutor() { return getDefaultExecutorService(); }
public ClingExecutor() { this(new ClingThreadFactory(), new ThreadPoolExecutor.DiscardPolicy() { // The pool is unbounded but rejections will happen during shutdown @Override public void rejectedExecution(Runnable runnable, ThreadPoolExecutor threadPoolExecutor) { // Log and discard log.info("Thread pool rejected execution of " + runnable.getClass()); super.rejectedExecution(runnable, threadPoolExecutor); } } ); }
public NetworkAddressFactory createNetworkAddressFactory() { return createNetworkAddressFactory(streamListenPort); }
public NetworkAddressFactory createNetworkAddressFactory() { return createNetworkAddressFactory(streamListenPort); }
synchronized public void shutdown() { shutdown(false); }
public Executor getDatagramIOExecutor() { return getDefaultExecutorService(); }
public Executor getRegistryListenerExecutor() { return getDefaultExecutorService(); }
protected ExecutorService createDefaultExecutorService() { return new ClingExecutor(); }
public ExecutorService getStreamServerExecutorService() { return getDefaultExecutorService(); }
public ExecutorService getStreamServerExecutorService() { return getDefaultExecutorService(); }
public Executor getAsyncProtocolExecutor() { return getDefaultExecutorService(); }
public Executor getAsyncProtocolExecutor() { return getDefaultExecutorService(); }
public ExecutorService getSyncProtocolExecutorService() { return getDefaultExecutorService(); }
public ExecutorService getSyncProtocolExecutorService() { return getDefaultExecutorService(); }
public Executor getRegistryListenerExecutor() { return getDefaultExecutorService(); }