Remove some useless virtual method from SocketHandler

This commit is contained in:
louiz’
2016-11-16 23:07:27 +01:00
parent b5a7c66bea
commit 42e85d921b
6 changed files with 5 additions and 32 deletions
@@ -15,10 +15,6 @@ DNSSocketHandler::DNSSocketHandler(std::shared_ptr<Poller> poller,
{
}
void DNSSocketHandler::connect()
{
}
void DNSSocketHandler::on_recv()
{
// always stop watching send and read events. We will re-watch them if the
@@ -40,11 +36,6 @@ bool DNSSocketHandler::is_connected() const
return true;
}
bool DNSSocketHandler::is_connecting() const
{
return false;
}
void DNSSocketHandler::remove_from_poller()
{
if (this->poller->is_managing_socket(this->socket))