ITAListener receives calls from TA.
Inheritance:
Public Methods
-
virtual list<map<string, IProfile*>*> * getTargetContexts(string targetId)
-
virtual list<map<string, IProfile*>*> * getContexts()
-
virtual void sessionForwardRequest(string sessionId, map<string, string>* forwardInfo)
- The TA requests the client to open a session with different socket.
-
virtual void abortSession(string sessionId)
- The TA has terminated a session, when the TA will have no knowledge about that session.
-
virtual void updateValues(list<string>* sessionIds, list<string>* paths, list<string>* operations, list<string>* values, list<bool>* hasDynRes)
- The TA signals a change in the targets status, affecting one or more sessions.
-
virtual void updateDynRes(list<string>* sessionIds, list<string>* eltIds)
- Signals that the set of resources pertaining to a specific socket element has been changed.
-
virtual IUCHStore* getLocalUCHStore()
- Gets an Object of LocalUCHStore.
-
virtual bool setValidation(ITA* ta, bool activate)
- Check whether to do validation for the TA or not.
-
virtual string startUriService(ITA* ta, string scheme, int port, bool portIsFlexible, string basePath, bool 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.
-
virtual void addUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
-
virtual void removeUriServiceContexts(string uri, list<map<string, IProfile*>*>* contexts)
-
virtual 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().
-
virtual string getIpAddress()
- Get the IP address of the UCH.
-
virtual string getDocument(string uri, string postData, map<string, IProfile*>* context)
- Get specified document through HTTP GET or POST.
-
virtual map<string, string> * getUCHProps()
- Get a Map of UCH Properties.
-
virtual bool isImplemented(string functionName)
- Returns whether specified function is implemented or not.
-
virtual list<list<map<string, list<string>*>*>*> * getResources(string sessionId, list<map<string, list<string>*>*>* resPropsList)
- Get resource from the UCH specified by Resource Properties.
-
virtual list<map<string, string>*> * uploadResources(list<map<string, list<string>*>*>* props, list<string>* resourceUri)
- Upload Resources on Resource Server.
Documentation
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.
virtual list<map<string, IProfile*>*> * getTargetContexts(string targetId)
-
- Parameters:
- targetId - a String value of targetId
- Returns:
- a List<Map<String, IProfile>> of user and controller profile map
virtual list<map<string, IProfile*>*> * getContexts()
-
- Parameters:
- targetId - a String value of targetId
- Returns:
- a List<Map<String, IProfile>> of user and controller profile map
virtual void sessionForwardRequest(string sessionId, map<string, string>* forwardInfo)
-
The TA requests the client to open a session with different socket.
- Parameters:
- sessionId - a String value of sessionId
forwardInfo - Map<String, String>
virtual void abortSession(string sessionId)
-
The TA has terminated a session, when the TA will have no knowledge about that session.
- Parameters:
- sessionId - a String value of sessionId
virtual void updateValues(list<string>* sessionIds, list<string>* paths, list<string>* operations, list<string>* values, list<bool>* hasDynRes)
-
The TA signals a change in the targets status, affecting one or more sessions.
- Parameters:
- sessionIds - a List<String> of sessionIds
paths - a List<String> of paths
operations - a List<String> of operations
values - a List<String> of values
hasDynRes - a List<Boolean> of hasDynRes
virtual void updateDynRes(list<string>* sessionIds, list<string>* eltIds)
-
Signals that the set of resources pertaining to a specific socket element has been changed.
- Parameters:
- sessionIds - a List<String> of sessionIds
eltIds - a List<String> of elementIds
virtual IUCHStore* getLocalUCHStore()
-
Gets an Object of LocalUCHStore.
- Returns:
- an Object of IUCHStore
virtual bool setValidation(ITA* ta, bool activate)
-
Check whether to do validation for the TA or not.
- Parameters:
- ta - an Object of ITA
activate - a boolean value of activate
- Returns:
- boolean whether to do validation for the TA or not
virtual string startUriService(ITA* ta, string scheme, int port, bool portIsFlexible, string basePath, bool 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.
If successful, the UCH will forward all messages that have this URI as its base, to controllerRequest().
- Parameters:
- ta - an ITA object
scheme - a String value of schema
port - a port no
portIsFlexible - a boolean value
basePath - a String value of basePath
basePathIsFlexible - a boolean value
contexts - a List<Map<String, IProfile>>
- Returns:
- a String value of URI
@throws UCHException
virtual void addUriServiceContexts(string uri, list<map<string, IProfile*>*>*contexts)
-
- Parameters:
- uri - a String value of URI
contexts - a List<Map<String, IProfile>> of user and controller profile map
@throws UCHException an Object of org.myurc.uch.UCHException
virtual void removeUriServiceContexts(string uri, list<map<string, IProfile*>*>* contexts)
-
- Parameters:
- uri - a String value of URI
contexts - a List<Map<String, IProfile>> of user and controller profile map
@throws UCHException an Object of org.myurc.uch.UCHException
virtual 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().
- Parameters:
- uri - a String value of URI
@throws UCHException
virtual string getIpAddress()
-
Get the IP address of the UCH.
- Returns:
- return a string value
virtual string getDocument(string uri, string postData, map<string, IProfile*>* context)
-
Get specified document through HTTP GET or POST.
- Parameters:
- uri - a String value of URI
postData - a String value of postData
context - a Map<string, IProfile>
- Returns:
- a String value of requested Document
@throws UCHException
virtual map<string, string> * getUCHProps()
-
Get a Map of UCH Properties.
- Returns:
- an object of Map<String, String> or UCH Properties
virtual bool isImplemented(string functionName)
-
Returns whether specified function is implemented or not.
- Parameters:
- functionName - a String value of function Name
- Returns:
- whether the function is implemented or not
virtual list<list<map<string, list<string>*>*>*> * getResources(string sessionId, list<map<string, list<string>*>*>* resPropsList)
-
Get resource from the UCH specified by Resource Properties.
- Parameters:
- sessionId - a String value of sessionId
resProps - a list<map<string, list<string>*>*> of Resource Properties
- Returns:
- a list<list<map<string,list<string>*>*>*> value
virtual list<map<string, string>*> * uploadResources(list<map<string, list<string>*>*>* props, list<string>* resourceUri)
-
Upload Resources on Resource Server.
- Parameters:
- props - an Object of List<Map<String, List<String>>>
resourceUri - an Object of List<String>
- Returns:
- an Object of Map<String, String>
- Direct child classes:
- TAListener
- Author:
- Parikshit Thakur & Team, Trace R&D Center
- Version:
- Revision: 1.0
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.