\hypertarget{classRedistRouteOrigin}{
\section{RedistRouteOrigin$<$ A $>$ Class Template Reference}
\label{classRedistRouteOrigin}\index{RedistRouteOrigin@{RedistRouteOrigin}}
}


\hyperlink{classRoute}{Route} Origination class for \hyperlink{classRouteRedistributor}{RouteRedistributor} instances.  




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

Inheritance diagram for RedistRouteOrigin$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classRedistRouteOrigin}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
uint32\_\-t \hyperlink{classRedistRouteOrigin_a20e3c64a4e19013ea457ecff93c33c10}{expiry\_\-secs} () const 
\begin{DoxyCompactList}\small\item\em Retrieve number of seconds before routes associated with this \hyperlink{classRedistRouteOrigin}{RedistRouteOrigin} expire. \item\end{DoxyCompactList}\item 
\hypertarget{classRedistRouteOrigin_a6d2e417079059a38e2916d8bc257fee3}{
uint32\_\-t \hyperlink{classRedistRouteOrigin_a6d2e417079059a38e2916d8bc257fee3}{deletion\_\-secs} () const }
\label{classRedistRouteOrigin_a6d2e417079059a38e2916d8bc257fee3}

\begin{DoxyCompactList}\small\item\em Retrieve number of seconds before route should be deleted after expiry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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

\hyperlink{classRoute}{Route} Origination class for \hyperlink{classRouteRedistributor}{RouteRedistributor} instances. \hyperlink{classRoute}{Route} Origination class for \hyperlink{classRouteRedistributor}{RouteRedistributor} instances. Overrides time constant accessors for \hyperlink{classRouteEntryOrigin}{RouteEntryOrigin}. By default \hyperlink{protocolthe-p}{the} time constants for route expiry and deletion is never. If set\_\-allow\_\-timers() is called future updates will have timers associated with them. set\_\-allow\_\-timers() is called when \hyperlink{protocolthe-p}{the} \hyperlink{classRedistTable}{RedistTable} is going to be withdrawn. This allows routes to be advertised as unreachable via host before they are deleted.

Non-\/copyable due to inheritance from \hyperlink{classRouteEntryOrigin}{RouteEntryOrigin}. 

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


Retrieve number of seconds before routes associated with this \hyperlink{classRedistRouteOrigin}{RedistRouteOrigin} expire. 

Always returns 0 to signify routes do not automatically expire. 

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/redist.hh\item 
/home/greearb/git/xorp.ct.github/xorp/rip/redist.cc\end{DoxyCompactItemize}
