Package brisa :: Package upnp :: Module upnp_defaults
[hide private]
[frames] | no frames]

Source Code for Module brisa.upnp.upnp_defaults

 1  # Licensed under the MIT license 
 2  # http://opensource.org/licenses/mit-license.php or see LICENSE file. 
 3  # Copyright 2007-2008 Brisa Team <brisa-develop@garage.maemo.org> 
 4   
 5  """ UPnP constants defined on the 1.0 specification. 
 6  """ 
 7   
 8   
9 -class UPnPDefaults(object):
10 """ UPnP constants defined on the 1.0 specification. 11 """ 12 SERVICE_ID_PREFIX = "urn:upnp-org:serviceId:" 13 SERVICE_ID_MS_PREFIX = "urn:microsoft.com:serviceId:" 14 SERVICE_SCHEMA_VERSION = "service-1-0" 15 SCHEMA_VERSION = "device-1-0" 16 SCHEMA_VERSION_MAJOR = "1" 17 SCHEMA_VERSION_MINOR = "0" 18 NAME_SPACE_XML_SCHEMA = '%s%s' % ("urn:schemas-upnp-org:", SCHEMA_VERSION) 19 SSDP_PORT = 1900 20 SSDP_ADDR = '239.255.255.250' 21 MSEARCH_DEFAULT_SEARCH_TIME = 600.0 22 MSEARCH_DEFAULT_SEARCH_TYPE = 'ssdp:all'
23