Skip to content

Commit

Permalink
the LibEvHandler::monitor() class is no longer private-final to allow…
Browse files Browse the repository at this point in the history
… user-space programs to further enhance it
  • Loading branch information
EmielBruijntjes committed Jan 13, 2022
1 parent fc89bb8 commit faa5885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/amqpcpp/libev.h
Original file line number Diff line number Diff line change
Expand Up @@ -460,19 +460,19 @@ class LibEvHandler : public TcpHandler
return _wrappers.back();
}

protected:
/**
* Method that is called by AMQP-CPP to register a filedescriptor for readability or writability
* @param connection The TCP connection object that is reporting
* @param fd The filedescriptor to be monitored
* @param flags Should the object be monitored for readability or writability?
*/
virtual void monitor(TcpConnection *connection, int fd, int flags) override final
virtual void monitor(TcpConnection *connection, int fd, int flags) override
{
// lookup the appropriate wrapper and start monitoring
lookup(connection).monitor(fd, flags);
}

protected:
/**
* Method that is called when the heartbeat timeout is negotiated between the server and the client.
* @param connection The connection that suggested a heartbeat timeout
Expand Down

0 comments on commit faa5885

Please sign in to comment.