<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def connectionMade(self):
 """ Callback function that is called when a connection has succeeded. Reaches back to the Connection object and confirms that the connection is ready. """

        try:
            # Non SSL connection
            self.connection = self.transport.connector.factory.conn
        except AttributeError:
            # SSL connection
            self.connection = self.transport.connector.factory.wrappedFactory.conn

        self.connection.client_connection_made(self.transport)