Lines Matching defs:connection
102 Connection *connection = (*iterator);
103 int peerSocket = connection->socketDescriptor;
135 LOG_V(" Server: new connection attempt.");
150 Connection *connection = new Connection(clientSock, &clientAddr);
151 peerConnections.push_back(connection);
152 LOG_I(" Server: new socket connection established and start listening.");
155 // we can ignore any errors from accepting a new connection.
164 Connection *connection = (*iterator);
165 int peerSocket = connection->socketDescriptor;
174 // the connection will be terminated if command processing
176 if (!connectionHandler->handleConnection(connection)) {
177 LOG_I(" Server: dropping connection.");
180 connectionHandler->dropConnection(connection);
182 // Remove connection from list
183 delete connection;
200 Connection *connection
209 if (tmpConnection == connection) {