def __init__( self, dialogue_label: BaseDialogueLabel, self_address: Address, role: BaseDialogue.Role, message_class: Type[OefSearchMessage] = OefSearchMessage, ) -> 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 """ BaseOefSearchDialogue.__init__( self, dialogue_label=dialogue_label, self_address=self_address, role=role ) self._envelope_context = None # type: Optional[EnvelopeContext]
def __init__( self, dialogue_label: DialogueLabel, agent_address: Address, role: Dialogue.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 """ BaseOefSearchDialogue.__init__(self, dialogue_label=dialogue_label, agent_address=agent_address, role=role) self._is_seller_search = None # type: Optional[bool]
def __init__( self, dialogue_label: DialogueLabel, self_address: Address, role: BaseDialogue.Role, message_class: Type[OefSearchMessage], ) -> 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 """ OefSearchDialogue.__init__( self, dialogue_label=dialogue_label, self_address=self_address, role=role, message_class=message_class, )