connection pool forwards data to the correct connection classes