Handle all request for managing Atomic(Resource Sheet) Resources.
Public Methods
-
ResourceSheetManager(ResourceManager* resourceManager)
- Constructor.
-
list<map<string, list<string>*>*> * getResServerResource(map<string, list<string>*>* resourcePropsList)
- Get the specified Resource from Resource Server.
-
string convertURI(string uri)
- Call the same method of Resource manager.
-
void updateDynRes(list<string>* sessionIds, list<string>* eltIds)
- Signals that the set of atomic resources pertaining to a specific socket element has changed.
-
void addResourceDir(string tdUri)
- Parse <ResDir> Element of Target Description and add it in the list of TargetDescriptions.
-
map<string, void*> * getAtomicOrDynamicResource(string sessionId, map<string, string>* resProps, bool firstTime)
- Return an Object representing matched Resource with the Resource Properties specified by 'resProps'.
-
void clearAtomicResources(list<string>*deletedLocalUris)
- Clear the specified Resources.
Documentation
Handle all request for managing Atomic(Resource Sheet) Resources.
Also Manage Resource Sheets and its resources.
ResourceSheetManager(ResourceManager* resourceManager)
-
Constructor.
Provide the reference of ResourceManager and RetrievalManager to the local variables.
- Parameters:
- resourceManager - an Object of ResourceManager
retrievalManager - an Object of RetrievalManager
list<map<string, list<string>*>*> * getResServerResource(map<string, list<string>*>* resourcePropsList)
-
Get the specified Resource from Resource Server.
- Parameters:
- resourceProps - an Object of Map<String, List<String>>
- Returns:
- an Object of Map<String, List<String>>
string convertURI(string uri)
-
Call the same method of Resource manager.
- Parameters:
- uri - a String value of URI
- Returns:
- a String value
void updateDynRes(list<string>* sessionIds, list<string>* eltIds)
-
Signals that the set of atomic resources pertaining to a specific socket element has changed.
- Parameters:
- sessionIds - a List<String> value of sessionIds
eltIds - a List<String> value of eltIds
void addResourceDir(string tdUri)
-
Parse <ResDir> Element of Target Description and add it in the list of TargetDescriptions.
- Parameters:
- tdUri - a String value of Target Description URI(tdUri)
map<string, void*> * getAtomicOrDynamicResource(string sessionId, map<string, string>* resProps, bool firstTime)
-
Return an Object representing matched Resource with the Resource Properties specified by 'resProps'.
- Parameters:
- sessionId - a String value of SessionId
resProps - a Map<String, String> of Resource Properties
- Returns:
- an Object of Map<String, Object> representing matched Resource
void clearAtomicResources(list<string>*deletedLocalUris)
-
Clear the specified Resources.
- Parameters:
- notDeletedUris - an Object of List<String>
- This class has no child classes.
- Author:
- Parikshit Thakur & Team, Trace R&D Center
- Version:
- Revision: 1.1
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.