packages.open_
aea.protocols.signing.message
This module contains signing's message definition.
SigningMessage Objects
class SigningMessage(Message)
A protocol for communication between skills and decision maker.
Performative Objects
class Performative(Message.Performative)
Performatives for the signing protocol.
__
str__
def __str__() -> 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 SigningMessage.
Arguments:
message_id
: the message id.dialogue_reference
: the dialogue reference.target
: the message target.performative
: the message performative.**kwargs
: extra options.
valid_
performatives
@property
def valid_performatives() -> Set[str]
Get valid performatives.
dialogue_
reference
@property
def dialogue_reference() -> Tuple[str, str]
Get the dialogue_reference of the message.
message_
id
@property
def message_id() -> int
Get the message_id of the message.
performative
@property
def performative() -> Performative
Get the performative of the message.
target
@property
def target() -> int
Get the target of the message.
error_
code
@property
def error_code() -> CustomErrorCode
Get the 'error_code' content from the message.
raw_
message
@property
def raw_message() -> CustomRawMessage
Get the 'raw_message' content from the message.
raw_
transaction
@property
def raw_transaction() -> CustomRawTransaction
Get the 'raw_transaction' content from the message.
signed_
message
@property
def signed_message() -> CustomSignedMessage
Get the 'signed_message' content from the message.
signed_
transaction
@property
def signed_transaction() -> CustomSignedTransaction
Get the 'signed_transaction' content from the message.
terms
@property
def terms() -> CustomTerms
Get the 'terms' content from the message.