Notification message of changed parameters by any agent.
Modifiers | Name | Description |
---|---|---|
protected int |
index |
|
protected Map<Parameter, Object> |
paramValues |
Type | Name and description |
---|---|
int |
index |
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 |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, 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-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd