packages.fetchai.protocols.default.message¶
This module contains default's message definition.
DefaultMessage Objects¶
A protocol for exchanging any bytes message.
Performative Objects¶
Performatives for the default 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 DefaultMessage.
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.
content¶
Get the 'content' content from the message.
error_
code¶
Get the 'error_code' content from the message.
error_
data¶
Get the 'error_data' content from the message.
error_
msg¶
Get the 'error_msg' content from the message.