History

add a DomainInfo class to hold domain information

Stephen Birarda committed 12 years ago

Commit 37f1f7b1 parent c9ade0511 files · +133 −100Browse files

Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 11 files). Show all

Unified · Split

assignment-client/src/AssignmentClient.cpp+2−2
@@ -120,10 +120,10 @@ void AssignmentClient::readPendingDatagrams() { · 119 unmodified lines
120 120
121 // switch our nodelist domain IP and port to whoever sent us the assignment121 // switch our nodelist domain IP and port to whoever sent us the assignment
122 122
123 nodeList->setDomainSockAddr(senderSockAddr);123 nodeList->getDomainInfo().setSockAddr(senderSockAddr);
124 nodeList->setSessionUUID(_currentAssignment->getUUID());124 nodeList->setSessionUUID(_currentAssignment->getUUID());
125 125
126 qDebug() << "Destination IP for assignment is" << nodeList->getDomainIP().toString();126 qDebug() << "Destination IP for assignment is" << nodeList->getDomainInfo().getIP().toString();
127 127
128 // start the deployed assignment128 // start the deployed assignment
129 QThread* workerThread = new QThread(this);129 QThread* workerThread = new QThread(this);