Start and Stop Discovery of UPnP Devices from the network when receive call of startDiscovery() and stopDiscovery() from ITDMListener respectively.
Inheritance:
Public Methods
-
UpnpTDM()
- Basic Constructor for UpnpTDM
-
void init(ITDMListener*tdmListener, map<string, string>*tdmProps, map<string, string>*uchProps, list<map<string, IProfile*>*>* contexts)
- When the TDM is installed and loaded, the UCH calls init() prior to any other TDM function and allows the TDM to initialize itself.
-
void startDiscovery()
- This function signals the TDM to start discovery of targets.
-
void stopDiscovery()
- This function signals the TDM to stop discovery of targets.
-
void targetDiscovered(map<string, void*>* targetProps)
- UpnpControlPoint Updates the TDMs with new UPnP device discovered in network
-
void targetDiscarded(string deviceId)
- UpnpControlPoint Updates the TDMs for UPnP device non-availability in network
-
void finalize()
- It is called before it uninstalls or unloads the TDM.
-
map<string, string> * getTDMProps()
- Get TDM Properties Map.
-
list<map<string, IProfile*>*> * getTargetContexts(string targetId)
- Call the same method on TDMListener
-
void contextsOpened(list<map<string, IProfile*>*>*contexts)
- Call the same method on TDMListener and UIPMListener.
-
void contextsClosed(list<map<string, IProfile*>*>*contexts)
- Call the same method on TDMListener and UIPMListener.
Documentation
Start and Stop Discovery of UPnP Devices from the network when receive call of startDiscovery() and stopDiscovery()
from ITDMListener respectively.
When any UPnP Device is added or removed from the network then invoke the method targetDiscovered() or targetDiscarded()
of ITDMListener respectively.
UpnpTDM()
-
Basic Constructor for UpnpTDM
void init(ITDMListener*tdmListener, map<string, string>*tdmProps, map<string, string>*uchProps, list<map<string, IProfile*>*>* contexts)
-
When the TDM is installed and loaded, the UCH calls init() prior to any other TDM function
and allows the TDM to initialize itself.
- Parameters:
- tdmListener - an Object of ITDMListener
tdmProps - a Map<String, String> of ITDM Properties
uchProps - a Map<String, String> of UCH Properties
@throws TDMFatalException
void startDiscovery()
-
This function signals the TDM to start discovery of targets.
@throws TDMFatalException
void stopDiscovery()
-
This function signals the TDM to stop discovery of targets.
@throws TDMFatalException
void targetDiscovered(map<string, void*>* targetProps)
-
UpnpControlPoint Updates the TDMs with new UPnP device discovered in network
- Parameters:
- targetProps - specifying device properties
void targetDiscarded(string deviceId)
-
UpnpControlPoint Updates the TDMs for UPnP device non-availability in network
- Parameters:
- deviceId - as String
void finalize()
-
It is called before it uninstalls or unloads the TDM.
Stop discovery if discovery is started.
map<string, string> * getTDMProps()
-
Get TDM Properties Map.
- Returns:
- a object of Map<String, String> of TDM Properties
list<map<string, IProfile*>*> * getTargetContexts(string targetId)
-
Call the same method on TDMListener
- Parameters:
- targetId - a String value of Target Id
- Returns:
- an Object of List<Map<String, IProfile>>
void contextsOpened(list<map<string, IProfile*>*>*contexts)
-
Call the same method on TDMListener and UIPMListener. That will further call the same methods on all TAs and UIPMs.
- Parameters:
- contexts - an Object of List<Map<String, IProfile>>
void contextsClosed(list<map<string, IProfile*>*>*contexts)
-
Call the same method on TDMListener and UIPMListener. That will further call the same methods on all TAs and UIPMs.
- Parameters:
- contexts - an Object of List<Map<String, IProfile>>
- 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++.