... | ... | @@ -45,8 +45,8 @@ When a query packet arrives its queries will be pushed onto a queue. The queue i |
|
|
A conceptualization of the processing for V6 in pseudo code follows:
|
|
|
|
|
|
```
|
|
|
// Run() logic in a ConnectionThread
|
|
|
TcpConnection::run()
|
|
|
// Run() logic in a LeaseQueryConnection Thread
|
|
|
LeaseQueryConnection::run()
|
|
|
while (connectionIsValid()) {
|
|
|
// Asynch read until we have a packet
|
|
|
query_pkt = doRead();
|
... | ... | @@ -110,7 +110,7 @@ QueryWorker::run(): |
|
|
}
|
|
|
}
|
|
|
|
|
|
TcpConnection::pushToSend(response) {
|
|
|
LeaseQueryConnection::pushToSend(response) {
|
|
|
Buffer packed = response->pack());
|
|
|
|
|
|
// Try to push packed message onto the current packet.
|
... | ... | |