|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpnpServiceConfiguration
Shared configuration data of the UPnP stack..
This interface offers methods for retrieval of configuration data by the
Router
and the Registry
,
as well as other parts of the UPnP stack.
You can re-use this interface if you implement a subclass of UpnpServiceImpl
or
if you create a new implementation of UpnpService
.
Method Detail |
---|
NetworkAddressFactory createNetworkAddressFactory()
NetworkAddressFactory
interface.DatagramProcessor getDatagramProcessor()
DatagramProcessor
.SOAPActionProcessor getSoapActionProcessor()
SOAPActionProcessor
.GENAEventProcessor getGenaEventProcessor()
GENAEventProcessor
.StreamClient createStreamClient()
StreamClient
interface.MulticastReceiver createMulticastReceiver(NetworkAddressFactory networkAddressFactory)
networkAddressFactory
- The configured NetworkAddressFactory
.
MulticastReceiver
interface.DatagramIO createDatagramIO(NetworkAddressFactory networkAddressFactory)
networkAddressFactory
- The configured NetworkAddressFactory
.
DatagramIO
interface.StreamServer createStreamServer(NetworkAddressFactory networkAddressFactory)
networkAddressFactory
- The configured NetworkAddressFactory
.
StreamServer
interface.Executor getMulticastReceiverExecutor()
Executor getDatagramIOExecutor()
Executor getStreamServerExecutor()
DeviceDescriptorBinder getDeviceDescriptorBinderUDA10()
DeviceDescriptorBinder
for the UPnP 1.0 Device Architecture..ServiceDescriptorBinder getServiceDescriptorBinderUDA10()
ServiceDescriptorBinder
for the UPnP 1.0 Device Architecture..ServiceType[] getExclusiveServiceTypes()
Return null
to completely disable remote device and service discovery.
All incoming notifications and search responses will then be dropped immediately.
This is mostly useful in applications that only provide services with no (remote)
control point functionality.
Note that a discovered service type with version 2 or 3 will match an exclusive service type with version 1. UPnP services are required to be backwards compatible, version 2 is a superset of version 1, and version 3 is a superset of version 2, etc.
null
return value will disable discovery!
An empty array means all services will be discovered.int getRegistryMaintenanceIntervalMillis()
Executor getAsyncProtocolExecutor()
Executor getSyncProtocolExecutor()
Namespace getNamespace()
Namespace
for this UPnP stack.Executor getRegistryMaintainerExecutor()
Executor getRegistryListenerExecutor()
void shutdown()
UpnpService
on shutdown, useful to e.g. shutdown thread pools.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |