Remove some useless virtual method from SocketHandler
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user