| 261 | } |
| 262 | |
| 263 | void POPAsyncSession::logConnection(ConnectionLogType logType, Data * buffer) |
| 264 | { |
| 265 | pthread_mutex_lock(&mConnectionLoggerLock); |
| 266 | if (mConnectionLogger != NULL) { |
| 267 | mConnectionLogger->log(this, logType, buffer); |
| 268 | } |
| 269 | pthread_mutex_unlock(&mConnectionLoggerLock); |
| 270 | } |
| 271 | |
| 272 | #if __APPLE__ |
| 273 | void POPAsyncSession::setDispatchQueue(dispatch_queue_t dispatchQueue) |