|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITAListener
ITAListener receives calls from TA. UCH implements this interface. The Listener receives calls from TA and forwards them to the UIPM and thereby to the client.
| Method Summary | |
|---|---|
void |
abortSession(String sessionId)
The TA has terminated a session, when the TA will have no knowledge about that session. |
void |
addUriServiceContexts(String uri,
List<Map<String,IProfile>> contexts)
Called when the TA wants to add one or more contexts to a URI service. |
String |
getDocument(String uri,
String postData,
Map<String,IProfile> context)
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<List<Map<String,List<String>>>> |
getResources(String sessionId,
List<Map<String,List<String>>> resProps)
Get resource from the UCH specified by Resource Properties. |
List<Map<String,IProfile>> |
getTargetContexts(String targetId)
Get list of contexts for specified target. |
Map<String,String> |
getUCHProps()
Get a Map of UCH Properties. |
boolean |
isImplemented(String functionName)
Returns whether specified function is implemented or not. |
void |
removeUriServiceContexts(String uri,
List<Map<String,IProfile>> contexts)
Called when the TA wants to remove one or more contexts to a URI service. |
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,
List<Map<String,IProfile>> contexts)
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 resources pertaining to a specific socket element has been 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. |
List<Map<String,String>> |
uploadResources(List<Map<String,List<String>>> props,
List<String> resourceUri)
Upload Resources on Resource Server. |
| Method Detail |
|---|
List<Map<String,IProfile>> getTargetContexts(String targetId)
targetId - a String value of targetId
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 elementIdsIUCHStore getLocalUCHStore()
boolean setValidation(ITA ta,
boolean activate)
ta - an Object of ITAactivate - a boolean value of activate
String getIpAddress()
String startUriService(ITA ta,
String scheme,
int port,
boolean portIsFlexible,
String basePath,
boolean basePathIsFlexible,
List<Map<String,IProfile>> contexts)
throws UCHException
ta - an ITA objectscheme - a String value of schemaport - a port noportIsFlexible - a boolean valuebasePath - a String value of basePathbasePathIsFlexible - a boolean valuecontexts - a List<Map<String, IProfile>> of user and controller profile map
UCHException - an Object of UCHException
void addUriServiceContexts(String uri,
List<Map<String,IProfile>> contexts)
throws UCHException
uri - a String value of URIcontexts - a List<Map<String, IProfile>> of user and controller profile map
UCHException - an Object of UCHException
void removeUriServiceContexts(String uri,
List<Map<String,IProfile>> contexts)
throws UCHException
uri - a String value of URIcontexts - a List<Map<String, IProfile>> of user and controller profile map
UCHException - an Object of UCHException
void stopUriService(String uri)
throws UCHException
uri - a String value of URI
UCHException - an Object of UCHException
List<List<Map<String,List<String>>>> getResources(String sessionId,
List<Map<String,List<String>>> resProps)
sessionId - a String value of sessionIdresProps - a Map<String, List<String>> of Resource Properties
String getDocument(String uri,
String postData,
Map<String,IProfile> context)
throws UCHException
uri - a String value of URIpostData - a String value of postDatacontext - a Map<String, IProfile> of user and controller profile
UCHException - an Object of UCHExceptionMap<String,String> getUCHProps()
boolean isImplemented(String functionName)
functionName - a String value of function Name
List<Map<String,String>> uploadResources(List<Map<String,List<String>>> props,
List<String> resourceUri)
props - an Object of List<Map<String, List<String>>>resourceUri - an Object of List<String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||