edu.wisc.trace.uch
Interface ITDM

All Known Implementing Classes:
GenericTDM, UpnpTDM

public interface ITDM

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

Version:
$Revision: 1.11 $
Author:
Parikshit Thakur & Team, Trace R&D Center

Method Summary
 void finalize()
          It is called before it uninstalls or unloads the TDM.
 Map<String,String> getTDMProps()
          Get TDM Properties Map.
 void init(ITDMListener itdmListener, Map<String,String> tdmProps, Map<String,String> uchProps)
          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.
 

Method Detail

init

void init(ITDMListener itdmListener,
          Map<String,String> tdmProps,
          Map<String,String> uchProps)
          throws TDMFatalException
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

finalize

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


startDiscovery

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

Throws:
TDMFatalException

stopDiscovery

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

Throws:
TDMFatalException

getTDMProps

Map<String,String> getTDMProps()
Get TDM Properties Map.

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


Copyright &#169; 2006-2008 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.