YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
org.fourthline.cling.UpnpServiceImpl Class Reference

Default implementation of UpnpService, starts immediately on construction. More...

Inheritance diagram for org.fourthline.cling.UpnpServiceImpl:
Inheritance graph
Collaboration diagram for org.fourthline.cling.UpnpServiceImpl:
Collaboration graph

Public Member Functions

 UpnpServiceImpl (RegistryListener... registryListeners)
 
 UpnpServiceImpl (UpnpServiceConfiguration configuration, RegistryListener... registryListeners)
 
UpnpServiceConfiguration getConfiguration ()
 
ControlPoint getControlPoint ()
 
ProtocolFactory getProtocolFactory ()
 
Registry getRegistry ()
 
Router getRouter ()
 
synchronized void shutdown ()
 Stopping the UPnP stack.
 

Protected Member Functions

ProtocolFactory createProtocolFactory ()
 
Registry createRegistry (ProtocolFactory protocolFactory)
 
Router createRouter (ProtocolFactory protocolFactory, Registry registry)
 
ControlPoint createControlPoint (ProtocolFactory protocolFactory, Registry registry)
 
void shutdown (boolean separateThread)
 
void shutdownRegistry ()
 
void shutdownRouter ()
 
void shutdownConfiguration ()
 

Protected Attributes

final UpnpServiceConfiguration configuration
 
final ControlPoint controlPoint
 
final ProtocolFactory protocolFactory
 
final Registry registry
 
final Router router
 

Detailed Description

Default implementation of UpnpService, starts immediately on construction.

If no UpnpServiceConfiguration is provided it will automatically instantiate DefaultUpnpServiceConfiguration. This configuration does not work on Android! Use the org.fourthline.cling.android.AndroidUpnpService application component instead.

Override the various create...() methods to customize instantiation of protocol factory, router, etc.

Author
Christian Bauer

Member Function Documentation

◆ getConfiguration()

UpnpServiceConfiguration org.fourthline.cling.UpnpServiceImpl.getConfiguration ( )

◆ getControlPoint()

ControlPoint org.fourthline.cling.UpnpServiceImpl.getControlPoint ( )

◆ getProtocolFactory()

ProtocolFactory org.fourthline.cling.UpnpServiceImpl.getProtocolFactory ( )

◆ getRegistry()

Registry org.fourthline.cling.UpnpServiceImpl.getRegistry ( )

◆ getRouter()

Router org.fourthline.cling.UpnpServiceImpl.getRouter ( )

◆ shutdown()

synchronized void org.fourthline.cling.UpnpServiceImpl.shutdown ( )

Stopping the UPnP stack.

Clients are required to stop the UPnP stack properly. Notifications for disappearing devices will be multicast'ed, existing event subscriptions cancelled.

Implements org.fourthline.cling.UpnpService.

Referenced by org.fourthline.cling.UpnpServiceImpl.shutdown().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: