org.fourthline.cling

## Interface UpnpService

- All Known Implementing Classes:
    ManagedUpnpService, MockUpnpService, UpnpServiceImpl

      public interface UpnpService

  Primary interface of the Cling Core UPnP stack.

  An implementation can either start immediately when constructed or offer an additional method that starts the UPnP stack on-demand. Implementations are not required to be restartable after shutdown.

  Implementations are always thread-safe and can be shared and called concurrently.

  Author:
    Christian Bauer

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `UpnpService.Shutdown`
    `static class` | `UpnpService.Start`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `UpnpServiceConfiguration` | `getConfiguration()`
    `ControlPoint` | `getControlPoint()`
    `ProtocolFactory` | `getProtocolFactory()`
    `Registry` | `getRegistry()`
    `Router` | `getRouter()`
    `void` | `shutdown()` Stopping the UPnP stack.

- - ### Method Detail

    - #### getConfiguration

          UpnpServiceConfiguration getConfiguration()

    - #### getControlPoint

          ControlPoint getControlPoint()

    - #### getProtocolFactory

          ProtocolFactory getProtocolFactory()

    - #### getRegistry

          Registry getRegistry()

    - #### getRouter

          Router getRouter()

    - #### shutdown

          void 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.

Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.