public class AndroidUpnpServiceConfiguration extends DefaultUpnpServiceConfiguration
This configuration utilizes the Jetty transport implementation
found in org.fourthline.cling.transport.impl.jetty for TCP/HTTP networking, as
client and server. The servlet context path for UPnP is set to /upnp.
The kxml2 implementation of org.xmlpull is available on Android, therefore
this configuration uses RecoveringUDA10DeviceDescriptorBinderImpl,
RecoveringSOAPActionProcessorImpl, and RecoveringGENAEventProcessorImpl.
This configuration utilizes UDA10ServiceDescriptorBinderSAXImpl, the system property
org.xml.sax.driver is set to org.xmlpull.v1.sax2.Driver.
To preserve battery, the Registry will only
be maintained every 3 seconds.
DefaultUpnpServiceConfiguration.ClingExecutor, DefaultUpnpServiceConfiguration.ClingThreadFactory| Constructor and Description |
|---|
AndroidUpnpServiceConfiguration() |
AndroidUpnpServiceConfiguration(int streamListenPort) |
| Modifier and Type | Method and Description |
|---|---|
protected DeviceDescriptorBinder |
createDeviceDescriptorBinderUDA10() |
protected GENAEventProcessor |
createGENAEventProcessor() |
protected Namespace |
createNamespace() |
protected NetworkAddressFactory |
createNetworkAddressFactory(int streamListenPort) |
protected ServiceDescriptorBinder |
createServiceDescriptorBinderUDA10() |
protected SOAPActionProcessor |
createSOAPActionProcessor() |
StreamClient |
createStreamClient() |
StreamServer |
createStreamServer(NetworkAddressFactory networkAddressFactory) |
int |
getRegistryMaintenanceIntervalMillis() |
createDatagramIO, createDatagramProcessor, createDefaultExecutorService, createMulticastReceiver, createNetworkAddressFactory, getAliveIntervalMillis, getAsyncProtocolExecutor, getDatagramIOExecutor, getDatagramProcessor, getDefaultExecutorService, getDescriptorRetrievalHeaders, getDeviceDescriptorBinderUDA10, getEventSubscriptionHeaders, getExclusiveServiceTypes, getGenaEventProcessor, getMulticastReceiverExecutor, getNamespace, getRegistryListenerExecutor, getRegistryMaintainerExecutor, getRemoteDeviceMaxAgeSeconds, getServiceDescriptorBinderUDA10, getSoapActionProcessor, getStreamServerExecutorService, getSyncProtocolExecutorService, isReceivedSubscriptionTimeoutIgnored, shutdownpublic AndroidUpnpServiceConfiguration()
public AndroidUpnpServiceConfiguration(int streamListenPort)
protected NetworkAddressFactory createNetworkAddressFactory(int streamListenPort)
createNetworkAddressFactory in class DefaultUpnpServiceConfigurationprotected Namespace createNamespace()
createNamespace in class DefaultUpnpServiceConfigurationpublic StreamClient createStreamClient()
createStreamClient in interface UpnpServiceConfigurationcreateStreamClient in class DefaultUpnpServiceConfigurationStreamClient interface.public StreamServer createStreamServer(NetworkAddressFactory networkAddressFactory)
createStreamServer in interface UpnpServiceConfigurationcreateStreamServer in class DefaultUpnpServiceConfigurationnetworkAddressFactory - The configured NetworkAddressFactory.StreamServer interface.protected DeviceDescriptorBinder createDeviceDescriptorBinderUDA10()
createDeviceDescriptorBinderUDA10 in class DefaultUpnpServiceConfigurationprotected ServiceDescriptorBinder createServiceDescriptorBinderUDA10()
createServiceDescriptorBinderUDA10 in class DefaultUpnpServiceConfigurationprotected SOAPActionProcessor createSOAPActionProcessor()
createSOAPActionProcessor in class DefaultUpnpServiceConfigurationprotected GENAEventProcessor createGENAEventProcessor()
createGENAEventProcessor in class DefaultUpnpServiceConfigurationpublic int getRegistryMaintenanceIntervalMillis()
getRegistryMaintenanceIntervalMillis in interface UpnpServiceConfigurationgetRegistryMaintenanceIntervalMillis in class DefaultUpnpServiceConfigurationCopyright © 2016 4th Line GmbH, Switzerland. All rights reserved.