SingleThreadDistributor();
typedef std::function<void(Answer*)> callback_t;
int question(Question *, callback_t callback) override; //!< Submit a question to the Distributor
- int getQueueSize() {
+ int getQueueSize() override {
return 0;
}
- bool isOverloaded()
+ bool isOverloaded() override
{
return false;
}
d_record.insert(d_record.end(), out.begin(), out.end());
}
-
- string getZoneRepresentation() const
+
+ string getZoneRepresentation() const override
{
ostringstream str;
str<<"\\# "<<(unsigned int)d_record.size()<<" ";
}
return str.str();
}
-
- void toPacket(DNSPacketWriter& pw)
+
+ void toPacket(DNSPacketWriter& pw) override
{
pw.xfrBlob(string(d_record.begin(),d_record.end()));
}
- uint16_t getType() const override
+ uint16_t getType() const override
{
return d_dr.d_type;
}