\hypertarget{classPeerRoutes}{
\section{PeerRoutes$<$ A $>$ Class Template Reference}
\label{classPeerRoutes}\index{PeerRoutes@{PeerRoutes}}
}


RIP \hyperlink{classPeer}{Peer} Routes.  




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

Inheritance diagram for PeerRoutes$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classPeerRoutes}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPeerRoutes_a2642b84a453ce434333ca9318388ff8a}{
{\bfseries PeerRoutes} (\hyperlink{classPeer}{Peer}$<$ A $>$ \&peer)}
\label{classPeerRoutes_a2642b84a453ce434333ca9318388ff8a}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
uint32\_\-t \hyperlink{classPeerRoutes_a149736438af9c10e0c490faeefce8530}{expiry\_\-secs} () const 
\begin{DoxyCompactList}\small\item\em Retrieve number of seconds before routes associated with this \hyperlink{classRouteEntryOrigin}{RouteEntryOrigin} should be marked as expired. \item\end{DoxyCompactList}\item 
\hypertarget{classPeerRoutes_a4560f7a863be0722a0e1c8cce492712a}{
uint32\_\-t \hyperlink{classPeerRoutes_a4560f7a863be0722a0e1c8cce492712a}{deletion\_\-secs} () const }
\label{classPeerRoutes_a4560f7a863be0722a0e1c8cce492712a}

\begin{DoxyCompactList}\small\item\em Retrieve number of seconds before route should be deleted after expiry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPeerRoutes_ab347646f88dc162a3c3cd5e11850e9ba}{
\hyperlink{classPeer}{Peer}$<$ A $>$ \& {\bfseries \_\-peer}}
\label{classPeerRoutes_ab347646f88dc162a3c3cd5e11850e9ba}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename A$>$ class PeerRoutes$<$ A $>$}

RIP \hyperlink{classPeer}{Peer} Routes. A class for storing \hyperlink{protocolthe-p}{the} original routes received from a \hyperlink{classPeer}{Peer} host. Those routes are used to push them whenever \hyperlink{protocolthe-p}{the} routing policy is modified. 

\subsection{Member Function Documentation}
\hypertarget{classPeerRoutes_a149736438af9c10e0c490faeefce8530}{
\index{PeerRoutes@{PeerRoutes}!expiry\_\-secs@{expiry\_\-secs}}
\index{expiry\_\-secs@{expiry\_\-secs}!PeerRoutes@{PeerRoutes}}
\subsubsection[{expiry\_\-secs}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A $>$ uint32\_\-t {\bf PeerRoutes}$<$ A $>$::expiry\_\-secs (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}private, virtual\mbox{]}}}}
\label{classPeerRoutes_a149736438af9c10e0c490faeefce8530}


Retrieve number of seconds before routes associated with this \hyperlink{classRouteEntryOrigin}{RouteEntryOrigin} should be marked as expired. 

A return value of 0 indicates routes are of infinite duration, eg static routes. 

Implements \hyperlink{classRouteEntryOrigin_aebd3e3b39e314d4394632b4f0b2cbe84}{RouteEntryOrigin$<$ A $>$}.



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