def _register_service(self) -> None:
    "\n        Register the agent's service.\n\n        :return: None\n        "
    strategy = cast(GenericStrategy, self.context.strategy)
    description = strategy.get_register_service_description()
    oef_search_dialogues = cast(OefSearchDialogues, self.context.oef_search_dialogues)
    oef_search_msg = OefSearchMessage(performative=OefSearchMessage.Performative.REGISTER_SERVICE, dialogue_reference=oef_search_dialogues.new_self_initiated_dialogue_reference(), service_description=description)
    oef_search_msg.counterparty = self.context.search_service_address
    oef_search_dialogues.update(oef_search_msg)
    self.context.outbox.put_message(message=oef_search_msg)
    self.context.logger.info('registering service on SOEF.')
Register the agent's service.

:return: None
def _register_service(self) -> None:
    "\n        Register the agent's service.\n\n        :return: None\n        "
    strategy = cast(GenericStrategy, self.context.strategy)
    description = strategy.get_register_service_description()
    oef_search_dialogues = cast(OefSearchDialogues, self.context.oef_search_dialogues)
    oef_search_msg = OefSearchMessage(performative=OefSearchMessage.Performative.REGISTER_SERVICE, dialogue_reference=oef_search_dialogues.new_self_initiated_dialogue_reference(), service_description=description)
    oef_search_msg.counterparty = self.context.search_service_address
    oef_search_dialogues.update(oef_search_msg)
    self.context.outbox.put_message(message=oef_search_msg)
    self.context.logger.info('registering service on SOEF.')