org.teleal.cling
Interface UpnpService

All Known Implementing Classes:
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

Method Summary
 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 multicasted, existing event subscriptions canceled.



Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.