|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITAListener
ITAListener forwards call of the methods from TA to the relative UIPM.
| Method Summary | |
|---|---|
void |
abortSession(String sessionId)
The TA has terminated a session, the TA will have no knowledge about that session. |
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()
Gets an Object of LocalUCHStore. |
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. |
void |
sessionForwardRequest(String sessionId,
Map<String,String> forwardInfo)
The TA requests the client to open a session with different socket. |
boolean |
setValidation(ITA ta,
boolean activate)
Check whether to do validation for the TA or not. |
String |
startUriService(ITA ta,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
The ITA 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 ITA requests the UCH to stop servicing a URI that was requested to be serviced in a previous call to startUriService(). |
void |
updateDynRes(List<String> sessionIds,
List<String> eltIds)
Signals that the set of atomic resources pertaining to a specific socket element has changed. |
void |
updateValues(List<String> sessionIds,
List<String> paths,
List<String> operations,
List<String> values,
List<Boolean> hasDynRes)
The TA signals a change in the target’s status, affecting one or more sessions. |
| Method Detail |
|---|
void sessionForwardRequest(String sessionId,
Map<String,String> forwardInfo)
sessionId - a String value of sessionIdforwardInfo - Map<String, String>void abortSession(String sessionId)
sessionId - a String value of sessionId
void updateValues(List<String> sessionIds,
List<String> paths,
List<String> operations,
List<String> values,
List<Boolean> hasDynRes)
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 hasDynRes
void updateDynRes(List<String> sessionIds,
List<String> eltIds)
sessionIds - a List<String> of sessionIdseltIds - a List<String> of elementIds
boolean setValidation(ITA ta,
boolean activate)
ta - an Object of ITAactivate - a boolean value of activate
IUCHStore getLocalUCHStore()
String startUriService(ITA ta,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible)
throws UCHException
ta - an ITA objectscheme - a String value of schemaport - a port noportIsFlexible - a boolean valuebasePath - a String value of basePathbasePathIsFlexible - a boolean value
UCHException
void stopUriService(String uri)
throws UCHException
uri - a String value of URI
UCHExceptionString getIpAddress()
List<Map<String,Object>> getResources(String sessionId,
List<Map<String,String>> resProps)
sessionId - a String value of sessionIdresProps - a List<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 | |||||||||