|
YAACC - UPNP Client and Server
|
Default implementation of UpnpService, starts immediately on construction.
More...


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 Attributes | |
| final UpnpServiceConfiguration | configuration |
| final ControlPoint | controlPoint |
| final ProtocolFactory | protocolFactory |
| final Registry | registry |
| final Router | router |
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.
| UpnpServiceConfiguration org.fourthline.cling.UpnpServiceImpl.getConfiguration | ( | ) |
Implements org.fourthline.cling.UpnpService.
| ControlPoint org.fourthline.cling.UpnpServiceImpl.getControlPoint | ( | ) |
Implements org.fourthline.cling.UpnpService.
| ProtocolFactory org.fourthline.cling.UpnpServiceImpl.getProtocolFactory | ( | ) |
Implements org.fourthline.cling.UpnpService.
| Registry org.fourthline.cling.UpnpServiceImpl.getRegistry | ( | ) |
Implements org.fourthline.cling.UpnpService.
| Router org.fourthline.cling.UpnpServiceImpl.getRouter | ( | ) |
Implements org.fourthline.cling.UpnpService.
| 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().

