class ResourceSheetManager

Handle all request for managing Atomic(Resource Sheet) Resources.

Public Methods

[more] ResourceSheetManager(ResourceManager* resourceManager)
Constructor.
[more]list<map<string, list<string>*>*> * getResServerResource(map<string, list<string>*>* resourcePropsList)
Get the specified Resource from Resource Server.
[more]string convertURI(string uri)
Call the same method of Resource manager.
[more]void updateDynRes(list<string>* sessionIds, list<string>* eltIds)
Signals that the set of atomic resources pertaining to a specific socket element has changed.
[more]void addResourceDir(string tdUri)
Parse <ResDir> Element of Target Description and add it in the list of TargetDescriptions.
[more]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'.
[more]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.

o 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

olist<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>>

ostring convertURI(string uri)
Call the same method of Resource manager.

Parameters:
uri - a String value of URI
Returns:
a String value

ovoid 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

ovoid 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)

omap<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

ovoid 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++.