Notification message of changed parameters by any agent.
Modifiers | Name | Description |
---|---|---|
protected int |
index |
|
protected Map<Parameter, Object> |
paramValues |
Constructor and description |
---|
ParamChangeNtf
() |
ParamChangeNtf
(AgentID recipient) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
clear() Clears the values. |
|
Object |
get(Parameter param) Gets the parameter value. |
|
int |
getIndex() Gets the index of parameter. |
|
Map<Parameter, Object> |
getParamValues() Gets the parameter and values map. |
|
Set<Parameter> |
parameters() Gets set of all requested parameters. |
|
void |
set(Parameter param, Object value) Sets the changed parameter and value. |
|
void |
setIndex(int index) Sets the index. |
|
String |
toString() Gets the string representation of notification message. |
Methods inherited from class | Name |
---|---|
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Clears the values.
Gets the parameter value.
param
- ParameterGets the index of parameter.
Gets the parameter and values map.
Gets set of all requested parameters.
Sets the changed parameter and value.
param
- Parametervalue
- parameter valueSets the index.
index
- index or channelCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd