Provide the method to forward device status to TDMs Provide the method to forward updates and received events to IUpdateListener.
Public Methods
-
virtual void startDiscovery()
- start Discovery for all available UPnP devices in network
-
virtual void stopDiscovery()
- stops Discovery for UPnP devices in network
-
virtual void addUpdateListener(IUpdateListener*listener)
- add IUpdateListener to updateListener list
-
virtual void addCPListener(IUpnpControlPointListener*listener)
- add IUpnpControlPointListener to controlPointListener list
-
virtual void removeUpdateListener(IUpdateListener*listener)
- removes IUpdateListener to updateListener list
-
virtual void removeCPListener(IUpnpControlPointListener*listener)
- add IUpnpControlPointListener to controlPointListener list
-
virtual string subscribeToEvent(string UDN, string service)
- subscribe to the service specified in eventURL string
-
virtual bool unsubscribeToEvent(string SID)
- unsubscribe to the service specified in eventURL string
-
virtual string doAction(string service, map<string, string>*paramMap, string UDN, bool makeAction, string action)
- Performs the UPnP Action
-
virtual void* getDeviceProperty(string UDN, string prop)
- Return the value of given property in paramter for particular device.
-
virtual void setRelaxParserState(bool relaxParser)
- Set the state of UTF-8 encoding relaxParserIf true then non UTF-8 characters are replaced by '?' else parsing fails
Documentation
Provide the method to forward device status to TDMs
Provide the method to forward updates and received events to IUpdateListener.
virtual void startDiscovery()
-
start Discovery for all available UPnP devices in network
virtual void stopDiscovery()
-
stops Discovery for UPnP devices in network
virtual void addUpdateListener(IUpdateListener*listener)
-
add IUpdateListener to updateListener list
virtual void addCPListener(IUpnpControlPointListener*listener)
-
add IUpnpControlPointListener to controlPointListener list
virtual void removeUpdateListener(IUpdateListener*listener)
-
removes IUpdateListener to updateListener list
virtual void removeCPListener(IUpnpControlPointListener*listener)
-
add IUpnpControlPointListener to controlPointListener list
virtual string subscribeToEvent(string UDN, string service)
-
subscribe to the service specified in eventURL string
- Parameters:
- eventURL - as string specifying the location and service
virtual bool unsubscribeToEvent(string SID)
-
unsubscribe to the service specified in eventURL string
- Parameters:
- eventURL - as string specifying the location and service
service - as String
- Returns:
- as true if successfull otherwise false
virtual string doAction(string service, map<string, string>*paramMap, string UDN, bool makeAction, string action)
-
Performs the UPnP Action
- Parameters:
- service - as String
paramMap - as map<string,string> which includes the UPnP specified action name and it's corresponding value
controlURL - as String
makeAction - as bool specifies whether whether to make action or add action
action - as String specifying the action name
- Returns:
- string from UPnP device
virtual void* getDeviceProperty(string UDN, string prop)
-
Return the value of given property in paramter for particular device.
- Parameters:
- string - UDN of device
property - name, which value is required to be obtained.
- Returns:
- object
string object for parameter 'location' and map object for 'controlURLs' and 'eventURLs' parameter
virtual void setRelaxParserState(bool relaxParser)
-
Set the state of UTF-8 encoding relaxParserIf true then non UTF-8 characters are replaced by '?' else parsing fails
- This class has no child classes.
- Author:
- Parikshit Thakur & Team, Trace R&D Center
- Version:
- Revision: 1.0
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.