class IUpnpControlPoint

Provide the method to forward device status to TDMs Provide the method to forward updates and received events to IUpdateListener.

Public Methods

[more]virtual void startDiscovery()
start Discovery for all available UPnP devices in network
[more]virtual void stopDiscovery()
stops Discovery for UPnP devices in network
[more]virtual void addUpdateListener(IUpdateListener*listener)
add IUpdateListener to updateListener list
[more]virtual void addCPListener(IUpnpControlPointListener*listener)
add IUpnpControlPointListener to controlPointListener list
[more]virtual void removeUpdateListener(IUpdateListener*listener)
removes IUpdateListener to updateListener list
[more]virtual void removeCPListener(IUpnpControlPointListener*listener)
add IUpnpControlPointListener to controlPointListener list
[more]virtual string subscribeToEvent(string UDN, string service)
subscribe to the service specified in eventURL string
[more]virtual bool unsubscribeToEvent(string SID)
unsubscribe to the service specified in eventURL string
[more]virtual string doAction(string service, map<string, string>*paramMap, string UDN, bool makeAction, string action)
Performs the UPnP Action
[more]virtual void* getDeviceProperty(string UDN, string prop)
Return the value of given property in paramter for particular device.
[more]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.

ovirtual void startDiscovery()
start Discovery for all available UPnP devices in network

ovirtual void stopDiscovery()
stops Discovery for UPnP devices in network

ovirtual void addUpdateListener(IUpdateListener*listener)
add IUpdateListener to updateListener list

ovirtual void addCPListener(IUpnpControlPointListener*listener)
add IUpnpControlPointListener to controlPointListener list

ovirtual void removeUpdateListener(IUpdateListener*listener)
removes IUpdateListener to updateListener list

ovirtual void removeCPListener(IUpnpControlPointListener*listener)
add IUpnpControlPointListener to controlPointListener list

ovirtual string subscribeToEvent(string UDN, string service)
subscribe to the service specified in eventURL string
Parameters:
eventURL - as string specifying the location and service

ovirtual 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

ovirtual 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

ovirtual 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

ovirtual 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++.