\hypertarget{classDampPeerOscillations}{
\section{DampPeerOscillations Class Reference}
\label{classDampPeerOscillations}\index{DampPeerOscillations@{DampPeerOscillations}}
}


Manage \hyperlink{protocolthe-p}{the} damping of peer oscillations.  




{\ttfamily \#include $<$peer.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDampPeerOscillations_a0c1379cf330f6706df863168ff872566}{
{\bfseries DampPeerOscillations} (\hyperlink{classEventLoop}{EventLoop} \&eventloop, uint32\_\-t restart\_\-threshold, uint32\_\-t time\_\-period, uint32\_\-t idle\_\-holdtime)}
\label{classDampPeerOscillations_a0c1379cf330f6706df863168ff872566}

\item 
\hypertarget{classDampPeerOscillations_a3aa223700150d5c037cd712d57dda885}{
void \hyperlink{classDampPeerOscillations_a3aa223700150d5c037cd712d57dda885}{restart} ()}
\label{classDampPeerOscillations_a3aa223700150d5c037cd712d57dda885}

\begin{DoxyCompactList}\small\item\em The session has been restarted. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classDampPeerOscillations_a525e7a92f0e0ca8e7e0bfc88bdfe7a41}{idle\_\-holdtime} () const 
\item 
\hypertarget{classDampPeerOscillations_a0186e3aa1c256bcb5127cd4adc49111d}{
void \hyperlink{classDampPeerOscillations_a0186e3aa1c256bcb5127cd4adc49111d}{reset} ()}
\label{classDampPeerOscillations_a0186e3aa1c256bcb5127cd4adc49111d}

\begin{DoxyCompactList}\small\item\em Reset \hyperlink{protocolthe-p}{the} state, possibly due to a manual restart. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDampPeerOscillations_a1db06449950fb9e6686fe091c9c594fe}{
void \hyperlink{classDampPeerOscillations_a1db06449950fb9e6686fe091c9c594fe}{zero\_\-restart\_\-count} ()}
\label{classDampPeerOscillations_a1db06449950fb9e6686fe091c9c594fe}

\begin{DoxyCompactList}\small\item\em Used by \hyperlink{protocolthe-p}{the} timer to zero \hyperlink{protocolthe-p}{the} error count. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDampPeerOscillations_ae780e9582a04d68f0fb11701be067c4b}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-eventloop}}
\label{classDampPeerOscillations_ae780e9582a04d68f0fb11701be067c4b}

\item 
\hypertarget{classDampPeerOscillations_a4c0420e9f2160662af90d5d6bb8cf99f}{
const uint32\_\-t {\bfseries \_\-restart\_\-threshold}}
\label{classDampPeerOscillations_a4c0420e9f2160662af90d5d6bb8cf99f}

\item 
\hypertarget{classDampPeerOscillations_a4aecee71d4f6b05a716f49ee533c0aa5}{
const uint32\_\-t {\bfseries \_\-time\_\-period}}
\label{classDampPeerOscillations_a4aecee71d4f6b05a716f49ee533c0aa5}

\item 
\hypertarget{classDampPeerOscillations_a590a69ea9f5c8ab6860456d3fadcc906}{
const uint32\_\-t {\bfseries \_\-idle\_\-holdtime}}
\label{classDampPeerOscillations_a590a69ea9f5c8ab6860456d3fadcc906}

\item 
\hypertarget{classDampPeerOscillations_a98b8db6cc01341e2d4c0d2739a939aca}{
uint32\_\-t {\bfseries \_\-restart\_\-counter}}
\label{classDampPeerOscillations_a98b8db6cc01341e2d4c0d2739a939aca}

\item 
\hypertarget{classDampPeerOscillations_aae94e0c1d247d50d463db179bc0a0d9e}{
\hyperlink{classXorpTimer}{XorpTimer} {\bfseries \_\-zero\_\-restart}}
\label{classDampPeerOscillations_aae94e0c1d247d50d463db179bc0a0d9e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Manage \hyperlink{protocolthe-p}{the} damping of peer oscillations. 

\subsection{Member Function Documentation}
\hypertarget{classDampPeerOscillations_a525e7a92f0e0ca8e7e0bfc88bdfe7a41}{
\index{DampPeerOscillations@{DampPeerOscillations}!idle\_\-holdtime@{idle\_\-holdtime}}
\index{idle\_\-holdtime@{idle\_\-holdtime}!DampPeerOscillations@{DampPeerOscillations}}
\subsubsection[{idle\_\-holdtime}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t DampPeerOscillations::idle\_\-holdtime (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classDampPeerOscillations_a525e7a92f0e0ca8e7e0bfc88bdfe7a41}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} idle holdtime. 
\end{DoxyReturn}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/peer.hh\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/peer.cc\end{DoxyCompactItemize}
