Skip to content

Commit

Permalink
[Link Event Damping] Add Abstract SelectEventHandler class to handle (#…
Browse files Browse the repository at this point in the history
…1312)

Handler in the class will be used to handle the timer event of link event dampers.
HLD: sonic-net/SONiC#1071
  • Loading branch information
Ashish1805 authored Nov 16, 2023
1 parent 0c0672d commit ea78e60
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions syncd/SelectableEventHandler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#pragma once

namespace syncd
{
// This class implements handler for Selectable events.
class SelectableEventHandler
{
public:

virtual ~SelectableEventHandler() = default;

virtual void handleSelectableEvent() = 0;

protected:

SelectableEventHandler() = default;
};

} // namespace syncd

0 comments on commit ea78e60

Please sign in to comment.