cybergarage-upnp
org.cybergarage.upnp.UPnP Class Reference

Static Public Member Functions

static final String getServerName ()
 
static final void setEnable (int value)
 
static final void setDisable (int value)
 
static final boolean isEnabled (int value)
 
static final String createUUID ()
 
static final int createBootId ()
 
static final int caluculateConfigId (String configXml)
 
static final void setXMLParser (Parser parser)
 
static final Parser getXMLParser ()
 
static final void setTimeToLive (int value)
 
static final int getTimeToLive ()
 
static final void initialize ()
 

Static Public Attributes

static final String XML_CLASS_PROPERTTY ="cyberlink.upnp.xml.parser"
 
static final String NAME = "CyberLinkJava"
 
static final String VERSION = "3.0"
 
static final int SERVER_RETRY_COUNT = 100
 
static final int DEFAULT_EXPIRED_DEVICE_EXTRA_TIME = 60
 
static final String INMPR03 = "INMPR03"
 
static final String INMPR03_VERSION = "1.0"
 
static final int INMPR03_DISCOVERY_OVER_WIRELESS_COUNT = 4
 
static final String XML_DECLARATION = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
 
static final int CONFIGID_UPNP_ORG_MAX = 16777215
 
static final int USE_ONLY_IPV6_ADDR = 1
 
static final int USE_LOOPBACK_ADDR = 2
 
static final int USE_IPV6_LINK_LOCAL_SCOPE = 3
 
static final int USE_IPV6_SUBNET_SCOPE = 4
 
static final int USE_IPV6_ADMINISTRATIVE_SCOPE = 5
 
static final int USE_IPV6_SITE_LOCAL_SCOPE = 6
 
static final int USE_IPV6_GLOBAL_SCOPE = 7
 
static final int USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES = 8
 
static final int USE_ONLY_IPV4_ADDR = 9
 
static final int DEFAULT_TTL = 4
 

Static Private Member Functions

static final String toUUID (int seed)
 
static Parser loadDefaultXMLParser ()
 

Static Private Attributes

static Parser xmlParser
 
static int timeToLive = DEFAULT_TTL
 

Member Function Documentation

◆ caluculateConfigId()

static final int org.cybergarage.upnp.UPnP.caluculateConfigId ( String configXml)
inlinestatic

◆ createBootId()

static final int org.cybergarage.upnp.UPnP.createBootId ( )
inlinestatic

◆ createUUID()

static final String org.cybergarage.upnp.UPnP.createUUID ( )
inlinestatic

◆ getServerName()

static final String org.cybergarage.upnp.UPnP.getServerName ( )
inlinestatic

◆ getTimeToLive()

static final int org.cybergarage.upnp.UPnP.getTimeToLive ( )
inlinestatic

◆ getXMLParser()

static final Parser org.cybergarage.upnp.UPnP.getXMLParser ( )
inlinestatic

◆ initialize()

static final void org.cybergarage.upnp.UPnP.initialize ( )
inlinestatic

◆ isEnabled()

static final boolean org.cybergarage.upnp.UPnP.isEnabled ( int value)
inlinestatic

◆ loadDefaultXMLParser()

static Parser org.cybergarage.upnp.UPnP.loadDefaultXMLParser ( )
inlinestaticprivate

This method loads the default XML Parser using the following behavior:

Returns
Parser which has been loaded successuflly or null otherwise
Since
1.8.0

◆ setDisable()

static final void org.cybergarage.upnp.UPnP.setDisable ( int value)
inlinestatic

◆ setEnable()

static final void org.cybergarage.upnp.UPnP.setEnable ( int value)
inlinestatic

◆ setTimeToLive()

static final void org.cybergarage.upnp.UPnP.setTimeToLive ( int value)
inlinestatic

◆ setXMLParser()

static final void org.cybergarage.upnp.UPnP.setXMLParser ( Parser parser)
inlinestatic

◆ toUUID()

static final String org.cybergarage.upnp.UPnP.toUUID ( int seed)
inlinestaticprivate

Field Documentation

◆ CONFIGID_UPNP_ORG_MAX

final int org.cybergarage.upnp.UPnP.CONFIGID_UPNP_ORG_MAX = 16777215
static

◆ DEFAULT_EXPIRED_DEVICE_EXTRA_TIME

final int org.cybergarage.upnp.UPnP.DEFAULT_EXPIRED_DEVICE_EXTRA_TIME = 60
static

◆ DEFAULT_TTL

final int org.cybergarage.upnp.UPnP.DEFAULT_TTL = 4
static

◆ INMPR03

final String org.cybergarage.upnp.UPnP.INMPR03 = "INMPR03"
static

◆ INMPR03_DISCOVERY_OVER_WIRELESS_COUNT

final int org.cybergarage.upnp.UPnP.INMPR03_DISCOVERY_OVER_WIRELESS_COUNT = 4
static

◆ INMPR03_VERSION

final String org.cybergarage.upnp.UPnP.INMPR03_VERSION = "1.0"
static

◆ NAME

final String org.cybergarage.upnp.UPnP.NAME = "CyberLinkJava"
static

◆ SERVER_RETRY_COUNT

final int org.cybergarage.upnp.UPnP.SERVER_RETRY_COUNT = 100
static

◆ timeToLive

int org.cybergarage.upnp.UPnP.timeToLive = DEFAULT_TTL
staticprivate

◆ USE_IPV6_ADMINISTRATIVE_SCOPE

final int org.cybergarage.upnp.UPnP.USE_IPV6_ADMINISTRATIVE_SCOPE = 5
static

◆ USE_IPV6_GLOBAL_SCOPE

final int org.cybergarage.upnp.UPnP.USE_IPV6_GLOBAL_SCOPE = 7
static

◆ USE_IPV6_LINK_LOCAL_SCOPE

final int org.cybergarage.upnp.UPnP.USE_IPV6_LINK_LOCAL_SCOPE = 3
static

◆ USE_IPV6_SITE_LOCAL_SCOPE

final int org.cybergarage.upnp.UPnP.USE_IPV6_SITE_LOCAL_SCOPE = 6
static

◆ USE_IPV6_SUBNET_SCOPE

final int org.cybergarage.upnp.UPnP.USE_IPV6_SUBNET_SCOPE = 4
static

◆ USE_LOOPBACK_ADDR

final int org.cybergarage.upnp.UPnP.USE_LOOPBACK_ADDR = 2
static

◆ USE_ONLY_IPV4_ADDR

final int org.cybergarage.upnp.UPnP.USE_ONLY_IPV4_ADDR = 9
static

◆ USE_ONLY_IPV6_ADDR

final int org.cybergarage.upnp.UPnP.USE_ONLY_IPV6_ADDR = 1
static

◆ USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES

final int org.cybergarage.upnp.UPnP.USE_SSDP_SEARCHRESPONSE_MULTIPLE_INTERFACES = 8
static

◆ VERSION

final String org.cybergarage.upnp.UPnP.VERSION = "3.0"
static

◆ XML_CLASS_PROPERTTY

final String org.cybergarage.upnp.UPnP.XML_CLASS_PROPERTTY ="cyberlink.upnp.xml.parser"
static

Name of the system properties used to identifies the default XML Parser.
The value of the properties MUST BE the fully qualified class name of
XML Parser which CyberLink should use.

◆ XML_DECLARATION

final String org.cybergarage.upnp.UPnP.XML_DECLARATION = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
static

◆ xmlParser

Parser org.cybergarage.upnp.UPnP.xmlParser
staticprivate

The documentation for this class was generated from the following file: