packages.fetchai.protocols.state_
update.message¶
This module contains state_update's message definition.
StateUpdateMessage Objects¶
A protocol for state updates to the decision maker state.
Performative Objects¶
Performatives for the state_update protocol.
__
str__
¶
Get the string representation.
__
init__
¶
def __init__(performative: Performative,
dialogue_reference: Tuple[str, str] = ("", ""),
message_id: int = 1,
target: int = 0,
**kwargs: Any)
Initialise an instance of StateUpdateMessage.
Arguments:
message_id
: the message id.dialogue_reference
: the dialogue reference.target
: the message target.performative
: the message performative.**kwargs
: extra options.
valid_
performatives¶
Get valid performatives.
dialogue_
reference¶
Get the dialogue_reference of the message.
message_
id¶
Get the message_id of the message.
performative¶
Get the performative of the message.
target¶
Get the target of the message.
amount_
by_
currency_
id¶
Get the 'amount_by_currency_id' content from the message.
exchange_
params_
by_
currency_
id¶
Get the 'exchange_params_by_currency_id' content from the message.
quantities_
by_
good_
id¶
Get the 'quantities_by_good_id' content from the message.
utility_
params_
by_
good_
id¶
Get the 'utility_params_by_good_id' content from the message.