def connection_made(self): Protocol.connection_made(self) self.switch_protocol_mode(self.protocol_mode_next)
def connection_made(self): """Called when the connection is established""" Protocol.connection_made(self) self.switch_protocol_mode(self.protocol_mode_next)