com.apama.session
Event SessionConfigParams
Session Config Parameter event that is passed back to the Source/Adapter on Session Start.
-
Since:
- CMF 2.0.1
Member summary |
dictionary<string, string> | list
|
Action summary |
void |
addParam(string paramName, string paramValue)
This function adds a parameter name and its corresponding value (as a string) to the list of Control Parameters. If the parameter name already exists, it will be overwritten with this new value. |
string |
getParam(string paramName)
This function gets the value (as a string) of the specified parameter name that has been added to this list of Session Config Parameters. |
boolean |
hasParam(string paramName)
This function allows the user to check whether the specified parameter name has been added to this list of Session Config Parameters. |
void |
removeParam(string paramName)
This function removes the specified parameter name from the list of Control Parameters. |
list
dictionary<string, string> list
addParam
void addParam(string paramName, string paramValue)
This function adds a parameter name and its corresponding value (as a string) to the list of Control Parameters. If the parameter name already exists, it will be overwritten with this new value.
-
Parameters:
-
paramName - The name of the parameter to add to the list of Control Parameters.
-
paramValue - The value (as a string) of the parameter to be added to the list.
getParam
string getParam(string paramName)
This function gets the value (as a string) of the specified parameter name that has been added to this list of Session Config Parameters.
-
Parameters:
-
paramName - The name of the parameter to get the value for from the list.
-
Returns:
- The value (as a string) if it has been added, or an empty string if the parameter has not been added to the list.
hasParam
boolean hasParam(string paramName)
This function allows the user to check whether the specified parameter name has been added to this list of Session Config Parameters.
-
Parameters:
-
paramName - The name of the parameter to check has been added to the list.
-
Returns:
- true if the configuration parameter exists, false otherwise.
removeParam
void removeParam(string paramName)
This function removes the specified parameter name from the list of Control Parameters.
-
Parameters:
-
paramName - The name of the parameter to be removed from the list of Control Parameters.