|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITDMListener
ITDMListener is responsible for listening to the TDM. After getting information from ITDM regarding Discovery and Discarding of devices, ITDMListener forwards the same to the UCH.
| Method Summary | |
|---|---|
String |
getDocument(String uri,
String postData)
Get specified document through HTTP GET or POST. |
String |
getIpAddress()
Get the IP address of the UCH. |
IUCHStore |
getLocalUCHStore()
Get the Local UCH Store. |
List<Map<String,Object>> |
getResources(String sessionId,
List<Map<String,String>> resProps)
Get resource from the UCH specified by Resource Properties. |
Map<String,String> |
getUCHProps()
Get a Map or UCH Properties. |
boolean |
isImplemented(String functionName)
Return whether specified function is implemented or not. |
String |
startUriService(ITDM tdm,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
The ITDM requests the UCH to start servicing a URI which is made up of a given scheme, port, and base path. |
void |
stopUriService(String uri)
The ITDM requests the UCH to stop servicing a URI that was requested to be serviced in a previous call to startUriService(). |
void |
targetDiscarded(String targetId)
A TDM calls this function when a target has disappeared from the network. |
String |
targetDiscovered(Map<String,Object> targetProps,
Map<String,String> taProps)
This function is called by a TDM when it has discovered a new target and loads appropriate TA for the new target. |
| Method Detail |
|---|
String targetDiscovered(Map<String,Object> targetProps,
Map<String,String> taProps)
targetProps - a Map<String, Object> of discovered Target PropertiestaProps - a Map<String, String> of TA(Target Adapter)'s Properties
void targetDiscarded(String targetId)
targetId - a String value of targetIdIUCHStore getLocalUCHStore()
String getIpAddress()
String startUriService(ITDM tdm,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
throws UCHException
tdm - an Object of ITDMscheme - a String value of schemeport - an int value of port numberportIsFlexible - a boolean valuebasePath - a String value of basePathbasePathIsFlexible - a boolean value
UCHException
void stopUriService(String uri)
throws UCHException
uri - a String value of URI
UCHException
List<Map<String,Object>> getResources(String sessionId,
List<Map<String,String>> resProps)
sessionId - a String value of sessionIdresProps - a Map<String, String> of Resource Properties
String getDocument(String uri,
String postData)
throws UCHException
uri - a String value of URIpostData - a String value of postData
UCHExceptionMap<String,String> getUCHProps()
boolean isImplemented(String functionName)
functionName - a String value of function Name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||