ITDM is responsible for Discovering & Discarding of the devices from the network and forwards call to ITDMListener.
Public Methods
-
virtual void init(ITDMListener* itdmlistener, 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.
-
virtual void finalize()
- It is called before it uninstalls or unloads the TDM.
-
virtual void contextsOpened(list<map<string, IProfile*>*>* contexts)
-
virtual void contextsClosed(list<map<string, IProfile*>*>* contexts)
-
virtual list<map<string, IProfile*>*> * getTargetContexts(string targetId)
-
virtual map<string, string> * getTDMProps()
- Get TDM Properties Map.
-
virtual void startDiscovery()
- This function signals the TDM to start discovery of targets.
-
virtual void stopDiscovery()
- This function signals the TDM to stop discovery of targets.
-
virtual void targetRequest( map<string, string>* requestMap, map<string, string>* responseMap, map<string, IProfile*>* context )
- The UCH calls this function if it has received a request from a controller to a URI that the TDM has claimed for itself by a previous call to startUriService()It call desired methods of ITDMListener and make changes to response object.
Documentation
ITDM is responsible for Discovering & Discarding of the devices from the network
and forwards call to ITDMListener.
virtual void init(ITDMListener* itdmlistener, 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:
- itdmListener - an Object of ITDMListener
tdmProps - a Map<String, String> of ITDM Properties
uchProps - a Map<String, String> of UCH Properties
@throws TDMFatalException
virtual void finalize()
-
It is called before it uninstalls or unloads the TDM.
virtual void contextsOpened(list<map<string, IProfile*>*>* contexts)
-
- Parameters:
- contexts - a List<Map<String, IProfile>> of user and controller profile map
@throws TDMFatalException an Object of org.myurc.uch.TDMFatalException
virtual void contextsClosed(list<map<string, IProfile*>*>* contexts)
-
- Parameters:
- contexts - a List<Map<String, IProfile>> of user and controller profile map
@throws TDMFatalException an Object of org.myurc.uch.TDMFatalException
virtual list<map<string, IProfile*>*> * getTargetContexts(string targetId)
-
- Parameters:
- targetId - a string value of targetId
- Returns:
- a List<Map<String, IProfile>> of user and controller profile map
virtual map<string, string> * getTDMProps()
-
Get TDM Properties Map.
- Returns:
- a object of Map<String, String> of TDM Properties
virtual void startDiscovery()
-
This function signals the TDM to start discovery of targets.
@throws TDMFatalException
virtual void stopDiscovery()
-
This function signals the TDM to stop discovery of targets.
@throws TDMFatalException
virtual void targetRequest( map<string, string>* requestMap, map<string, string>* responseMap, map<string, IProfile*>* context )
-
The UCH calls this function if it has received a request from a controller to a URI
that the TDM has claimed for itself by a previous call to startUriService()It call
desired methods of ITDMListener and make changes to response object.
- Parameters:
- request - a request Map Object
response - a response Map Object
@throws TAFatalException
- 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++.