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
120120
121121 // switch our nodelist domain IP and port to whoever sent us the assignment
122122
123− nodeList->setDomainSockAddr(senderSockAddr);
123+ nodeList->getDomainInfo().setSockAddr(senderSockAddr);
124124 nodeList->setSessionUUID(_currentAssignment->getUUID());
125125
126− qDebug() << "Destination IP for assignment is" << nodeList->getDomainIP().toString();
126+ qDebug() << "Destination IP for assignment is" << nodeList->getDomainInfo().getIP().toString();
127127
128128 // start the deployed assignment
129129 QThread* workerThread = new QThread(this);