Home | Trees | Indices | Help |
|
---|
|
object --+ | ControlPoint
This class implements UPnP Control Point functionalities.
The simplest way of using it is by subscribing for the device events, starting it with start() and search for devices with start_search(). Note that after start() the control point will be already listening for notifications. It will be listening for search responses only after start_search().
Available events for subscription:
You may stop the control point anytime with stop() and it can be reused by calling start() again. If you want to stop it definitely, you may use destroy().
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
msg_already_started = 'tried to start() ControlPoint when alre
|
|||
msg_already_stopped = 'tried to stop() ControlPoint when alrea
|
|||
receive_notify = property(_get_recv_notify, _set_recv_notify,
|
|
|||
Inherited from |
|
ControlPoint class constructor.
|
Subscribes the callback for an event.
|
Unsubscribes the callback for an event.
|
Sends a multicast M-SEARCH message to discover UPnP devices.
|
Forces a multicast MSearch bypassing the time interval. This method force msearch to send discovery message, bypassing the initial time interval passed to start_search function. Note this method doesn't cause any effect if the start_search call was never called.
|
Returns whether MSEARCH is running or not.
|
GET function for the receive_notify property. Use self.receive_notify instead.
|
SET function for the receive_notify property. Use self.receive_notify instead.
|
Receives a new device event.
|
Real implementation of the new device event handler.
|
Receives a removed device event.
|
Receives an event.
|
Callback for any event. Forwards the event to the subscribed callbacks.
|
|
msg_already_started
|
msg_already_stopped
|
receive_notify
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jun 9 22:24:57 2009 | http://epydoc.sourceforge.net |