|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUIPM
After getting information from ITDMListener regarding Discovery and Discarding of devices, UCH instantiates UIPM if it is not instantiated, if it is already instantiated then UCH informs UIPM about Discovery and Discarding of the devices. It forwards relative call from UCH to ITA and get desired response and forwards to UCH for further process.
| Method Summary | |
|---|---|
void |
controllerRequest(HttpServletRequest request,
HttpServletResponse response)
The UCH calls this function if it has received a request from a controller to a URI that the UIPM has claimed for itself by a previous call to startUriService().It call desired methods of IUIPMListener and make changes to response object. |
void |
finalize()
The UCH should call finalize() before it uninstalls or unloads the UIPM. |
Map<String,String> |
getUIPMProps()
Returns Properties of UIPM. |
void |
init(IUIPMListener uipmListener,
Map<String,String> uipmProps,
Map<String,String> uchProps)
When the UIPM is installed and loaded, the UCH calls this method prior to any other UIPM function and allows the UIPM to initialize itself. |
boolean |
isImplemented(String functionName)
Return whether specified function is implemented or not. |
void |
sessionAborted(String sessionId)
The target has terminated a session. |
void |
sessionForwardRequest(String sessionId,
Map<String,String> forwardInfo)
The target requests the UIPM to open a session with a different socket. |
void |
targetDiscarded(String targetId)
This function is called from UCH when a target has been discarded after initialization of the UIPM. |
void |
targetDiscovered(String targetId)
This function is called from UCH when a new target has been discovered after initialization of the UIPM. |
void |
updateValues(List<String> sessionIds,
List<String> paths,
List<String> operations,
List<String> values,
List<Boolean> hasDynRes)
The target’s status has changed, affecting one or more sessions. |
| Method Detail |
|---|
void init(IUIPMListener uipmListener,
Map<String,String> uipmProps,
Map<String,String> uchProps)
throws UIPMFatalException
uipmListener - an Object of IUIPMListeneruipmProps - a Map<String, String> of IUIPM PropertiesuchProps - a Map<String, String> of UCH Properties
UIPMFatalExceptionvoid finalize()
Map<String,String> getUIPMProps()
void targetDiscovered(String targetId)
throws UIPMFatalException
targetId - a String value of targetId
UIPMFatalException
void targetDiscarded(String targetId)
throws UIPMFatalException
targetId - a String value of targetId
UIPMFatalException
void sessionForwardRequest(String sessionId,
Map<String,String> forwardInfo)
throws UIPMFatalException
sessionId - a String value of sessionIdforwardInfo - a Map<String, String> value
UIPMFatalException
void sessionAborted(String sessionId)
throws UIPMFatalException
sessionId - a String value of sessionId
UIPMFatalException
void updateValues(List<String> sessionIds,
List<String> paths,
List<String> operations,
List<String> values,
List<Boolean> hasDynRes)
throws UIPMFatalException
sessionIds - a List<String> of sessionIdspaths - a List<String> of pathsoperations - a List<String> of operationsvalues - a List<String> of valueshasDynRes - a List<Boolean> of hadDynRes
UIPMFatalExceptionboolean isImplemented(String functionName)
functionName - a String value of function Name
void controllerRequest(HttpServletRequest request,
HttpServletResponse response)
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||