|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITDM
ITDM is responsible for Discovering & Discarding of the devices from the network and forwards call to ITDMListener.
| Method Summary | |
|---|---|
void |
contextsClosed(List<Map<String,IProfile>> contexts)
Called when one or more contexts were closed or have expired on the UCH. |
void |
contextsOpened(List<Map<String,IProfile>> contexts)
Called when one or more contexts have been opened on the UCH. |
void |
finalize()
It is called before it uninstalls or unloads the TDM. |
List<Map<String,IProfile>> |
getTargetContexts(String targetId)
Get list of contexts for specified target. |
Map<String,String> |
getTDMProps()
Get TDM Properties Map. |
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 |
targetRequest(HttpServletRequest request,
HttpServletResponse response,
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. |
| Method Detail |
|---|
void init(ITDMListener tdmListener,
Map<String,String> tdmProps,
Map<String,String> uchProps,
List<Map<String,IProfile>> contexts)
throws TDMFatalException
tdmListener - an Object of ITDMListenertdmProps - a Map<String, String> of ITDM PropertiesuchProps - a Map<String, String> of UCH Propertiescontexts - a List<Map<String, IProfile>> of user and controller profile map
TDMFatalException - an Object of TDMFatalExceptionvoid finalize()
void contextsOpened(List<Map<String,IProfile>> contexts)
throws TDMFatalException
contexts - a List<Map<String, IProfile>> of user and controller profile map
TDMFatalException - an Object of TDMFatalException
void contextsClosed(List<Map<String,IProfile>> contexts)
throws TDMFatalException
contexts - a List<Map<String, IProfile>> of user and controller profile map
TDMFatalException - an Object of TDMFatalExceptionMap<String,String> getTDMProps()
void startDiscovery()
throws TDMFatalException
TDMFatalException - an Object of TDMFatalException
void stopDiscovery()
throws TDMFatalException
TDMFatalException - an Object of TDMFatalExceptionList<Map<String,IProfile>> getTargetContexts(String targetId)
targetId - a string value of targetId
void targetRequest(HttpServletRequest request,
HttpServletResponse response,
Map<String,IProfile> context)
throws TDMFatalException
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponsecontext - a Map<String, IProfile> of user and controller profile
TDMFatalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||