|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teleal.cling.DefaultUpnpServiceConfiguration
public class DefaultUpnpServiceConfiguration
Default configuration data of a typical UPnP stack.
This configuration utilizes the default network transport implementation found in
org.teleal.cling.transport.impl
.
This configuration utilizes the DOM default descriptor binders found in
org.teleal.cling.binding.xml
.
The thread Executor
is a ThreadPoolExecutor
with the following
properties:
A warning message will be logged when all threads of the pool have been exhausted and executions have to be dropped.
The default Namespace
is configured without any
base path or prefix.
Constructor Summary | |
---|---|
DefaultUpnpServiceConfiguration()
Defaults to port '0', ephemeral. |
|
DefaultUpnpServiceConfiguration(int streamListenPort)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUpnpServiceConfiguration()
public DefaultUpnpServiceConfiguration(int streamListenPort)
Method Detail |
---|
public DatagramProcessor getDatagramProcessor()
getDatagramProcessor
in interface UpnpServiceConfiguration
DatagramProcessor
.public SOAPActionProcessor getSoapActionProcessor()
getSoapActionProcessor
in interface UpnpServiceConfiguration
SOAPActionProcessor
.public GENAEventProcessor getGenaEventProcessor()
getGenaEventProcessor
in interface UpnpServiceConfiguration
GENAEventProcessor
.public StreamClient createStreamClient()
createStreamClient
in interface UpnpServiceConfiguration
StreamClient
interface.public MulticastReceiver createMulticastReceiver(NetworkAddressFactory networkAddressFactory)
createMulticastReceiver
in interface UpnpServiceConfiguration
networkAddressFactory
- The configured NetworkAddressFactory
.
MulticastReceiver
interface.public DatagramIO createDatagramIO(NetworkAddressFactory networkAddressFactory)
createDatagramIO
in interface UpnpServiceConfiguration
networkAddressFactory
- The configured NetworkAddressFactory
.
DatagramIO
interface.public StreamServer createStreamServer(NetworkAddressFactory networkAddressFactory)
createStreamServer
in interface UpnpServiceConfiguration
networkAddressFactory
- The configured NetworkAddressFactory
.
StreamServer
interface.public Executor getMulticastReceiverExecutor()
getMulticastReceiverExecutor
in interface UpnpServiceConfiguration
public Executor getDatagramIOExecutor()
getDatagramIOExecutor
in interface UpnpServiceConfiguration
public Executor getStreamServerExecutor()
getStreamServerExecutor
in interface UpnpServiceConfiguration
public DeviceDescriptorBinder getDeviceDescriptorBinderUDA10()
getDeviceDescriptorBinderUDA10
in interface UpnpServiceConfiguration
DeviceDescriptorBinder
for the UPnP 1.0 Device Architecture..public ServiceDescriptorBinder getServiceDescriptorBinderUDA10()
getServiceDescriptorBinderUDA10
in interface UpnpServiceConfiguration
ServiceDescriptorBinder
for the UPnP 1.0 Device Architecture..public Executor getAsyncProtocolExecutor()
getAsyncProtocolExecutor
in interface UpnpServiceConfiguration
public Executor getSyncProtocolExecutor()
getSyncProtocolExecutor
in interface UpnpServiceConfiguration
public Namespace getNamespace()
getNamespace
in interface UpnpServiceConfiguration
Namespace
for this UPnP stack.public Executor getRegistryMaintainerExecutor()
getRegistryMaintainerExecutor
in interface UpnpServiceConfiguration
public Executor getRegistryListenerExecutor()
getRegistryListenerExecutor
in interface UpnpServiceConfiguration
public NetworkAddressFactory createNetworkAddressFactory()
createNetworkAddressFactory
in interface UpnpServiceConfiguration
NetworkAddressFactory
interface.protected NetworkAddressFactory createNetworkAddressFactory(int streamListenPort)
protected DatagramProcessor createDatagramProcessor()
protected SOAPActionProcessor createSOAPActionProcessor()
protected GENAEventProcessor createGENAEventProcessor()
protected DeviceDescriptorBinder createDeviceDescriptorBinderUDA10()
protected ServiceDescriptorBinder createServiceDescriptorBinderUDA10()
protected Namespace createNamespace()
protected Executor getDefaultExecutor()
protected Executor createDefaultExecutor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |