OctreeSendThread::~OctreeSendThread() { QString safeServerName("Octree"); if (_myServer) { safeServerName = _myServer->getMyServerName(); } qDebug() << qPrintable(safeServerName) << "server [" << _myServer << "]: client disconnected " "- ending sending thread [" << this << "]"; OctreeServer::clientDisconnected(); }
OctreeSendThread::~OctreeSendThread() { QString safeServerName("Octree"); if (_myServer) { safeServerName = _myServer->getMyServerName(); } qDebug() << qPrintable(safeServerName) << "server [" << _myServer << "]: client disconnected " "- ending sending thread [" << this << "]"; OctreeServer::clientDisconnected(); OctreeServer::stopTrackingThread(this); _node.clear(); _myAssignment.clear(); }
OctreeSendThread::OctreeSendThread(const QUuid& nodeUUID, OctreeServer* myServer) : _nodeUUID(nodeUUID), _myServer(myServer), _packetData(), _nodeMissingCount(0) { QString safeServerName("Octree"); if (_myServer) { safeServerName = _myServer->getMyServerName(); } qDebug() << qPrintable(safeServerName) << "server [" << _myServer << "]: client connected " "- starting sending thread [" << this << "]"; OctreeServer::clientConnected(); }
OctreeSendThread::OctreeSendThread(const SharedAssignmentPointer& myAssignment, const SharedNodePointer& node) : _myAssignment(myAssignment), _myServer(static_cast<OctreeServer*>(myAssignment.data())), _node(node), _nodeUUID(node->getUUID()), _packetData(), _nodeMissingCount(0), _isShuttingDown(false) { QString safeServerName("Octree"); if (_myServer) { safeServerName = _myServer->getMyServerName(); } qDebug() << qPrintable(safeServerName) << "server [" << _myServer << "]: client connected " "- starting sending thread [" << this << "]"; OctreeServer::clientConnected(); }