class ITDM

ITDM is responsible for Discovering & Discarding of the devices from the network and forwards call to ITDMListener.

Public Methods

[more]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.
[more]virtual void finalize()
It is called before it uninstalls or unloads the TDM.
[more]virtual void contextsOpened(list<map<string, IProfile*>*>* contexts)
[more]virtual void contextsClosed(list<map<string, IProfile*>*>* contexts)
[more]virtual list<map<string, IProfile*>*> * getTargetContexts(string targetId)
[more]virtual map<string, string> * getTDMProps()
Get TDM Properties Map.
[more]virtual void startDiscovery()
This function signals the TDM to start discovery of targets.
[more]virtual void stopDiscovery()
This function signals the TDM to stop discovery of targets.
[more]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.

ovirtual 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

ovirtual void finalize()
It is called before it uninstalls or unloads the TDM.

ovirtual 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

ovirtual 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

ovirtual 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

ovirtual map<string, string> * getTDMProps()
Get TDM Properties Map.

Returns:
a object of Map<String, String> of TDM Properties

ovirtual void startDiscovery()
This function signals the TDM to start discovery of targets.

@throws TDMFatalException

ovirtual void stopDiscovery()
This function signals the TDM to stop discovery of targets.

@throws TDMFatalException

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