def connection_made(self, transport: asyncio.Transport): """Start mail replication immediately.""" Protocol.connection_made(self, transport)
def authentication_made(self, portfolio: Portfolio, node: Union[bool, Node]): """Indicate that authentication has taken place. Never call from outside, internal use only.""" Protocol.authentication_made(self, portfolio, node) self._add_handler(MailServer(self))