plugins.aea-cli-benchmark.aea_
cli_
benchmark.case_
tx_
generate.dialogues
Ledger TX generation and processing benchmark.
SigningDialogues Objects
class SigningDialogues(BaseSigningDialogues)
This class keeps track of all oef_search dialogues.
__
init__
def __init__(self_address: Address) -> None
Initialize dialogues.
Arguments:
self_address
: the address of the entity for whom dialogues are maintained
Returns:
None
FipaDialogue Objects
class FipaDialogue(BaseFipaDialogue)
The dialogue class maintains state of a dialogue and manages it.
__
init__
def __init__(dialogue_label: BaseDialogueLabel,
self_address: Address,
role: BaseDialogue.Role,
message_class: Type[FipaMessage] = FipaMessage) -> None
Initialize a dialogue.
Arguments:
dialogue_label
: the identifier of the dialogueself_address
: the address of the entity for whom this dialogue is maintainedrole
: the role of the agent this dialogue is maintained formessage_class
: the message class
terms
@property
def terms() -> Terms
Get terms.
terms
@terms.setter
def terms(terms: Terms) -> None
Set terms.
FipaDialogues Objects
class FipaDialogues(Model, BaseFipaDialogues)
The dialogues class keeps track of all dialogues.
__
init__
def __init__(**kwargs: Any) -> None
Initialize dialogues.
Arguments:
kwargs
: keyword arguments
LedgerApiDialogue Objects
class LedgerApiDialogue(BaseLedgerApiDialogue)
The dialogue class maintains state of a dialogue and manages it.
__
init__
def __init__(dialogue_label: BaseDialogueLabel,
self_address: Address,
role: BaseDialogue.Role,
message_class: Type[LedgerApiMessage] = LedgerApiMessage) -> None
Initialize a dialogue.
Arguments:
dialogue_label
: the identifier of the dialogueself_address
: the address of the entity for whom this dialogue is maintainedrole
: the role of the agent this dialogue is maintained formessage_class
: the message class
associated_
fipa_
dialogue
@property
def associated_fipa_dialogue() -> FipaDialogue
Get associated_fipa_dialogue.
associated_
fipa_
dialogue
@associated_fipa_dialogue.setter
def associated_fipa_dialogue(fipa_dialogue: FipaDialogue) -> None
Set associated_fipa_dialogue
LedgerApiDialogues Objects
class LedgerApiDialogues(Model, BaseLedgerApiDialogues)
The dialogues class keeps track of all dialogues.
__
init__
def __init__(**kwargs: Any) -> None
Initialize dialogues.
Arguments:
kwargs
: keyword arguments