class IUCHStore

In some cases two different modules (UIPMs, TDMs, TAs) may wish to share data with each other.

Inheritance:


Public Methods

[more]virtual void* getValue(string key)
Get a stored value from the local UCH store
[more]virtual void setValue(string key, void* value)
Set a (new) value for the given key.


Documentation

In some cases two different modules (UIPMs, TDMs, TAs) may wish to share data with each other. For this purpose, a shared Map is provided by the UCH, called "local UCH store”. Modules may store data as key-value pairs in the local UCH store, which may be accessed by other (related) modules that know the corresponding keys.

It is recommended that keys are used that will likely not conflict with data written by other modules at runtime. Manufacturers of modules should use their domain name as a prefix for their keys, and use dots as delimiter between key subcomponents. Example: "example.com.uipm.607.portno”.

Note that the local UCH store is not a safe place for communicating sensitive information such as authorization keys, since it can be read by all UIPMs, TDMs and TAs.

ovirtual void* getValue(string key)
Get a stored value from the local UCH store
Parameters:
key - a String value
Returns:
stored Object for the corresponding value

ovirtual void setValue(string key, void* value)
Set a (new) value for the given key. If the key doesn’t exist in the map before, it will be created. If the key is already existing, the map stores the new value under the key, and the old value is removed.

Parameters:
key - a String value
value - an Object value to be stored


Direct child classes:
UCHLocalStore
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++.