def __init__( self, dialogue_label: BaseDialogueLabel, self_address: Address, role: BaseDialogue.Role, message_class: Type[FipaMessage] = FipaMessage, ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param self_address: the address of the entity for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ BaseFipaDialogue.__init__( self, dialogue_label=dialogue_label, self_address=self_address, role=role, message_class=message_class, ) self.data_for_sale = None # type: Optional[Dict[str, str]] self._terms = None # type: Optional[Terms]
def __init__( self, dialogue_label: DialogueLabel, self_address: Address, role: Dialogue.Role, message_class: Type[FipaMessage] = FipaMessage, ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param self_address: the address of the entity for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ BaseFipaDialogue.__init__( self, dialogue_label=dialogue_label, self_address=self_address, role=role, message_class=message_class, ) self._proposal = None # type: Optional[Description] self._terms = None # type: Optional[Terms] self._counterparty_signature = None # type: Optional[str]
def __init__(self, dialogue_label: DialogueLabel, is_seller: bool) -> None: """ Initialize a dialogue label. :param dialogue_label: the identifier of the dialogue :param is_seller: indicates whether the agent associated with the dialogue is a seller or buyer :return: None """ FipaDialogue.__init__(self, dialogue_label=dialogue_label, is_seller=is_seller) self.temp_data = None # type: Optional[Dict[str, str]] self.proposal = None # type: Optional[Description]
def __init__( self, dialogue_label: BaseDialogueLabel, agent_address: Address, role: BaseDialogue.Role, ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param agent_address: the address of the agent for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ BaseFipaDialogue.__init__( self, dialogue_label=dialogue_label, agent_address=agent_address, role=role ) self._proposal = None # type: Optional[Description]
def __init__( self, dialogue_label: DialogueLabel, agent_address: Address, role: BaseDialogue.Role, ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param agent_address: the address of the agent for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ FipaDialogue.__init__(self, dialogue_label=dialogue_label, agent_address=agent_address, role=role)
def __init__( self, dialogue_label: BaseDialogueLabel, agent_address: Address, role: BaseDialogue.Role, ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param agent_address: the address of the agent for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ BaseFipaDialogue.__init__(self, dialogue_label=dialogue_label, agent_address=agent_address, role=role) self._terms = None # type: Optional[Terms] self._associated_ledger_api_dialogue = None # type: Optional[LedgerApiDialogue]
def __init__( self, dialogue_label: DialogueLabel, self_address: Address, role: BaseDialogue.Role, message_class: Type[FipaMessage], ) -> None: """ Initialize a dialogue. :param dialogue_label: the identifier of the dialogue :param self_address: the address of the entity for whom this dialogue is maintained :param role: the role of the agent this dialogue is maintained for :return: None """ FipaDialogue.__init__( self, dialogue_label=dialogue_label, self_address=self_address, role=role, message_class=message_class, )