Represents a MSearch. Contains some control functions for starting and
stopping the search. While running, search will be repeated in regular
intervals specified at construction or passed to the start() method.
|
__init__(self,
ssdp,
start=True,
interval=DEFAULT_SEARCH_TIME,
ssdp_addr='239.255.255.250',
ssdp_port=1900)
Constructor for the MSearch class. |
source code
|
|
boolean
|
is_running(self)
Returns True if the search is running (it's being repeated in the
interval given). |
source code
|
|
|
start(self,
interval=DEFAULT_SEARCH_TIME,
search_type=DEFAULT_SEARCH_TYPE)
Starts the search. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|