\hypertarget{classShowRoutesProcessor}{
\section{ShowRoutesProcessor Class Reference}
\label{classShowRoutesProcessor}\index{ShowRoutesProcessor@{ShowRoutesProcessor}}
}
Inheritance diagram for ShowRoutesProcessor:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classShowRoutesProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classShowRoutesProcessor_a012d8c2bb3c7238dd79515a7d84a5403}{
{\bfseries ShowRoutesProcessor} (\hyperlink{classEventLoop}{EventLoop} \&e, \hyperlink{structShowRoutesOptions}{ShowRoutesOptions} \&opts)}
\label{classShowRoutesProcessor_a012d8c2bb3c7238dd79515a7d84a5403}

\item 
int \hyperlink{classShowRoutesProcessor_a45a310a5eb6aa845f731f4228c64cf0e}{startup} ()
\begin{DoxyCompactList}\small\item\em Start service. \item\end{DoxyCompactList}\item 
int \hyperlink{classShowRoutesProcessor_a10b1104e32c80f50edfd2427b2910803}{shutdown} ()
\begin{DoxyCompactList}\small\item\em \hyperlink{classShutdown}{Shutdown} service. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_a8da6d60e755d858a6a42a52ddc482425}{common\_\-0\_\-1\_\-get\_\-target\_\-name} (string \&name)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_af373cfd24ee8529b92c947e031535ea3}{common\_\-0\_\-1\_\-get\_\-version} (string \&version)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_acbc072e4fdd337a9475b49e899bd7f5c}{common\_\-0\_\-1\_\-get\_\-status} (uint32\_\-t \&status, string \&reason)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_a5e9c1789c7a125db0715107533e03043}{common\_\-0\_\-1\_\-shutdown} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_af626de65fcc74f8e0e5736fcb7489251}{common\_\-0\_\-1\_\-startup} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_a132c2972fdc46221b47c60a96ccb08fd}{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth} (const string \&cls, const string \&ins)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_a25df404a3602b1e7c8b44943991ab56a}{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death} (const string \&cls, const string \&ins)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_ae6cd406bc25d1bc21a6d5e8c79a6e2af}{redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump} (const string \&cookie)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_af13ed974f7048fd9aa22389803173ba1}{redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump} (const string \&cookie)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_ada05a4add6e208cd1e8c21270d225994}{redist4\_\-0\_\-1\_\-add\_\-route} (const \hyperlink{classIPNet}{IPv4Net} \&dst, const \hyperlink{classIPv4}{IPv4} \&nexthop, const string \&ifname, const string \&vifname, const uint32\_\-t \&metric, const uint32\_\-t \&admin\_\-distance, const string \&cookie, const string \&protocol\_\-origin)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hypertarget{classShowRoutesProcessor_ab5a5da42702fb2cad018abbec6162ac9}{
\hyperlink{structXrlCmdError}{XrlCmdError} {\bfseries redist4\_\-0\_\-1\_\-delete\_\-route} (const \hyperlink{classIPNet}{IPv4Net} \&dst, const \hyperlink{classIPv4}{IPv4} \&nexthop, const string \&ifname, const string \&vifname, const uint32\_\-t \&metric, const uint32\_\-t \&admin\_\-distance, const string \&cookie, const string \&protocol\_\-origin)}
\label{classShowRoutesProcessor_ab5a5da42702fb2cad018abbec6162ac9}

\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_a0dde4e24574876c39e5c3ec19f6ee2fa}{redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump} (const string \&cookie)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_af15324e2044fe8aa4db7324071a222d7}{redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump} (const string \&cookie)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classShowRoutesProcessor_af825112bd24a7a4d2f673327a8599684}{redist6\_\-0\_\-1\_\-add\_\-route} (const \hyperlink{classIPNet}{IPv6Net} \&dst, const \hyperlink{classIPv6}{IPv6} \&nexthop, const string \&ifname, const string \&vifname, const uint32\_\-t \&metric, const uint32\_\-t \&admin\_\-distance, const string \&cookie, const string \&protocol\_\-origin)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hypertarget{classShowRoutesProcessor_a36e118e9287a8119a3751e79b94f417a}{
\hyperlink{structXrlCmdError}{XrlCmdError} {\bfseries redist6\_\-0\_\-1\_\-delete\_\-route} (const \hyperlink{classIPNet}{IPv6Net} \&dst, const \hyperlink{classIPv6}{IPv6} \&nexthop, const string \&ifname, const string \&vifname, const uint32\_\-t \&metric, const uint32\_\-t \&admin\_\-distance, const string \&cookie, const string \&protocol\_\-origin)}
\label{classShowRoutesProcessor_a36e118e9287a8119a3751e79b94f417a}

\item 
\hypertarget{classShowRoutesProcessor_a4321df8615aa4790199134c5d4a8d452}{
bool {\bfseries poll\_\-ready\_\-failed} ()}
\label{classShowRoutesProcessor_a4321df8615aa4790199134c5d4a8d452}

\item 
bool \hyperlink{classShowRoutesProcessor_adb66c45b1f64937f087c1224d59aac81}{check\_\-cookie} (const string \&cookie)
\item 
void \hyperlink{classShowRoutesProcessor_a3f38545baddfc31b6764bd519b7626e5}{step\_\-100\_\-watch\_\-rib} ()
\begin{DoxyCompactList}\small\item\em Register with \hyperlink{classFinder}{Finder} to watch \hyperlink{classRIB}{RIB} birth and death events. \item\end{DoxyCompactList}\item 
\hypertarget{classShowRoutesProcessor_a9154510e95b4d61d3b3b68a90c2eb0e9}{
void {\bfseries watch\_\-rib\_\-cb} (const \hyperlink{classXrlError}{XrlError} \&xe)}
\label{classShowRoutesProcessor_a9154510e95b4d61d3b3b68a90c2eb0e9}

\item 
\hypertarget{classShowRoutesProcessor_ae19cf78c55998c51e18dd02db383f84a}{
void \hyperlink{classShowRoutesProcessor_ae19cf78c55998c51e18dd02db383f84a}{step\_\-200\_\-request\_\-redist} ()}
\label{classShowRoutesProcessor_ae19cf78c55998c51e18dd02db383f84a}

\begin{DoxyCompactList}\small\item\em Request redistribution of user requested protocol. \item\end{DoxyCompactList}\item 
\hypertarget{classShowRoutesProcessor_a117281ab84ee56a1e67bf6787861531f}{
void {\bfseries request\_\-redist\_\-cb} (const \hyperlink{classXrlError}{XrlError} \&xe)}
\label{classShowRoutesProcessor_a117281ab84ee56a1e67bf6787861531f}

\item 
\hypertarget{classShowRoutesProcessor_a167eadf7f553fb20f73dadebb21368a4}{
void \hyperlink{classShowRoutesProcessor_a167eadf7f553fb20f73dadebb21368a4}{step\_\-1000\_\-request\_\-cease} ()}
\label{classShowRoutesProcessor_a167eadf7f553fb20f73dadebb21368a4}

\begin{DoxyCompactList}\small\item\em Request redistribution cease. \item\end{DoxyCompactList}\item 
\hypertarget{classShowRoutesProcessor_a37ce73629b3fbc2af4490675427ff261}{
void {\bfseries request\_\-cease\_\-cb} (const \hyperlink{classXrlError}{XrlError} \&xe)}
\label{classShowRoutesProcessor_a37ce73629b3fbc2af4490675427ff261}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classShowRoutesProcessor_ae51d2298cd328c5acab38929608ad099}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-e}}
\label{classShowRoutesProcessor_ae51d2298cd328c5acab38929608ad099}

\item 
\hypertarget{classShowRoutesProcessor_a589f451ffcbab1458411092d430e6e4d}{
const \hyperlink{structShowRoutesOptions}{ShowRoutesOptions} \& {\bfseries \_\-opts}}
\label{classShowRoutesProcessor_a589f451ffcbab1458411092d430e6e4d}

\item 
\hypertarget{classShowRoutesProcessor_a7a5065fe6d1d533078f783dc299f8a11}{
\hyperlink{classXrlRouter}{XrlRouter} $\ast$ {\bfseries \_\-rtr}}
\label{classShowRoutesProcessor_a7a5065fe6d1d533078f783dc299f8a11}

\item 
\hypertarget{classShowRoutesProcessor_a8a5c7c607b42ec4a583cb5768d8969c8}{
\hyperlink{classXorpTimer}{XorpTimer} {\bfseries \_\-t}}
\label{classShowRoutesProcessor_a8a5c7c607b42ec4a583cb5768d8969c8}

\item 
\hypertarget{classShowRoutesProcessor_a076e167d10bd96153f85ac5cf28ffe72}{
\hyperlink{classIPNet}{IPv4Net} {\bfseries \_\-network\_\-prefix4}}
\label{classShowRoutesProcessor_a076e167d10bd96153f85ac5cf28ffe72}

\item 
\hypertarget{classShowRoutesProcessor_a2245e3d0522595175867dab2bd190b50}{
\hyperlink{classIPNet}{IPv6Net} {\bfseries \_\-network\_\-prefix6}}
\label{classShowRoutesProcessor_a2245e3d0522595175867dab2bd190b50}

\item 
\hypertarget{classShowRoutesProcessor_a4c9b9f1a30ace43c3bc610f4546052a3}{
string {\bfseries \_\-cookie}}
\label{classShowRoutesProcessor_a4c9b9f1a30ace43c3bc610f4546052a3}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classShowRoutesProcessor_adb66c45b1f64937f087c1224d59aac81}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!check\_\-cookie@{check\_\-cookie}}
\index{check\_\-cookie@{check\_\-cookie}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{check\_\-cookie}]{\setlength{\rightskip}{0pt plus 5cm}bool ShowRoutesProcessor::check\_\-cookie (
\begin{DoxyParamCaption}
\item[{const string \&}]{cookie}
\end{DoxyParamCaption}
)}}
\label{classShowRoutesProcessor_adb66c45b1f64937f087c1224d59aac81}
\begin{DoxyReturn}{Returns}
true if cookie matches instance cookie, false otherwise. 
\end{DoxyReturn}
\hypertarget{classShowRoutesProcessor_acbc072e4fdd337a9475b49e899bd7f5c}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!common\_\-0\_\-1\_\-get\_\-status@{common\_\-0\_\-1\_\-get\_\-status}}
\index{common\_\-0\_\-1\_\-get\_\-status@{common\_\-0\_\-1\_\-get\_\-status}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::common\_\-0\_\-1\_\-get\_\-status (
\begin{DoxyParamCaption}
\item[{uint32\_\-t \&}]{status, }
\item[{string \&}]{reason}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_acbc072e4fdd337a9475b49e899bd7f5c}


Pure-\/virtual function that needs to be implemented to: 

Get status of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlShowRoutesTargetBase_a5873fa4ebe2348b3755b9af92378e02f}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a8da6d60e755d858a6a42a52ddc482425}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!common\_\-0\_\-1\_\-get\_\-target\_\-name@{common\_\-0\_\-1\_\-get\_\-target\_\-name}}
\index{common\_\-0\_\-1\_\-get\_\-target\_\-name@{common\_\-0\_\-1\_\-get\_\-target\_\-name}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-target\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::common\_\-0\_\-1\_\-get\_\-target\_\-name (
\begin{DoxyParamCaption}
\item[{string \&}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a8da6d60e755d858a6a42a52ddc482425}


Pure-\/virtual function that needs to be implemented to: 

Get name of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlShowRoutesTargetBase_aa84e83829d22e68af3116763e6097626}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_af373cfd24ee8529b92c947e031535ea3}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!common\_\-0\_\-1\_\-get\_\-version@{common\_\-0\_\-1\_\-get\_\-version}}
\index{common\_\-0\_\-1\_\-get\_\-version@{common\_\-0\_\-1\_\-get\_\-version}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{common\_\-0\_\-1\_\-get\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::common\_\-0\_\-1\_\-get\_\-version (
\begin{DoxyParamCaption}
\item[{string \&}]{version}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_af373cfd24ee8529b92c947e031535ea3}


Pure-\/virtual function that needs to be implemented to: 

Get version string from \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlShowRoutesTargetBase_a4b33846ab5d39f64269286e016a3ea41}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a5e9c1789c7a125db0715107533e03043}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!common\_\-0\_\-1\_\-shutdown@{common\_\-0\_\-1\_\-shutdown}}
\index{common\_\-0\_\-1\_\-shutdown@{common\_\-0\_\-1\_\-shutdown}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{common\_\-0\_\-1\_\-shutdown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::common\_\-0\_\-1\_\-shutdown (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a5e9c1789c7a125db0715107533e03043}


Pure-\/virtual function that needs to be implemented to: 

Request clean shutdown of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlShowRoutesTargetBase_a9d8972ab7b4ee558dff2d5ea062f0cf8}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_af626de65fcc74f8e0e5736fcb7489251}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!common\_\-0\_\-1\_\-startup@{common\_\-0\_\-1\_\-startup}}
\index{common\_\-0\_\-1\_\-startup@{common\_\-0\_\-1\_\-startup}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{common\_\-0\_\-1\_\-startup}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::common\_\-0\_\-1\_\-startup (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classShowRoutesProcessor_af626de65fcc74f8e0e5736fcb7489251}


Pure-\/virtual function that needs to be implemented to: 

Request a startup of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlShowRoutesTargetBase_a647e1bf3cc7d912a7edef2bdaaf10426}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a132c2972fdc46221b47c60a96ccb08fd}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}}
\index{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth (
\begin{DoxyParamCaption}
\item[{const string \&}]{target\_\-class, }
\item[{const string \&}]{target\_\-instance}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a132c2972fdc46221b47c60a96ccb08fd}


Pure-\/virtual function that needs to be implemented to: 

Announce target birth to observer.


\begin{DoxyParams}{Parameters}
{\em target\_\-class} & \hyperlink{protocolthe-p}{the} target class name.\\
\hline
{\em target\_\-instance} & \hyperlink{protocolthe-p}{the} target instance name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a421e4f37b7b70e0f022a11cbd9571104}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a25df404a3602b1e7c8b44943991ab56a}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}}
\index{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death (
\begin{DoxyParamCaption}
\item[{const string \&}]{target\_\-class, }
\item[{const string \&}]{target\_\-instance}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a25df404a3602b1e7c8b44943991ab56a}


Pure-\/virtual function that needs to be implemented to: 

Announce target death to observer.


\begin{DoxyParams}{Parameters}
{\em target\_\-class} & \hyperlink{protocolthe-p}{the} target class name.\\
\hline
{\em target\_\-instance} & \hyperlink{protocolthe-p}{the} target instance name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a6eb522485f98dae6369260e2760edcca}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_ada05a4add6e208cd1e8c21270d225994}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist4\_\-0\_\-1\_\-add\_\-route@{redist4\_\-0\_\-1\_\-add\_\-route}}
\index{redist4\_\-0\_\-1\_\-add\_\-route@{redist4\_\-0\_\-1\_\-add\_\-route}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist4\_\-0\_\-1\_\-add\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist4\_\-0\_\-1\_\-add\_\-route (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4Net} \&}]{dst, }
\item[{const {\bf IPv4} \&}]{nexthop, }
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const uint32\_\-t \&}]{metric, }
\item[{const uint32\_\-t \&}]{admin\_\-distance, }
\item[{const string \&}]{cookie, }
\item[{const string \&}]{protocol\_\-origin}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_ada05a4add6e208cd1e8c21270d225994}


Pure-\/virtual function that needs to be implemented to: 

Add/delete a routing entry.


\begin{DoxyParams}{Parameters}
{\em dst} & destination network.\\
\hline
{\em nexthop} & nexthop router address.\\
\hline
{\em ifname} & interface name associated with nexthop.\\
\hline
{\em vifname} & virtual interface name with nexthop.\\
\hline
{\em metric} & origin routing protocol metric for route.\\
\hline
{\em admin\_\-distance} & administrative distance of origin routing protocol.\\
\hline
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name.\\
\hline
{\em protocol\_\-origin} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} protocol that originated this routing entry. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a87cb92d0e58746d49bf2e48222f6d57d}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_af13ed974f7048fd9aa22389803173ba1}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump@{redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump}}
\index{redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump@{redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist4\_\-0\_\-1\_\-finishing\_\-route\_\-dump (
\begin{DoxyParamCaption}
\item[{const string \&}]{cookie}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_af13ed974f7048fd9aa22389803173ba1}


Pure-\/virtual function that needs to be implemented to: 

When route redistribution begins, \hyperlink{protocolthe-p}{the} receiver is sent \hyperlink{protocolthe-p}{the} existing list of routes. This message marks \hyperlink{protocolthe-p}{the} end of \hyperlink{protocolthe-p}{the} existing routes being sent.


\begin{DoxyParams}{Parameters}
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a4dadff9f447e663ba82826ac67c036a4}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_ae6cd406bc25d1bc21a6d5e8c79a6e2af}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump@{redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump}}
\index{redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump@{redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist4\_\-0\_\-1\_\-starting\_\-route\_\-dump (
\begin{DoxyParamCaption}
\item[{const string \&}]{cookie}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_ae6cd406bc25d1bc21a6d5e8c79a6e2af}


Pure-\/virtual function that needs to be implemented to: 

When route redistribution begins, \hyperlink{protocolthe-p}{the} receiver is sent \hyperlink{protocolthe-p}{the} existing list of routes. This message marks \hyperlink{protocolthe-p}{the} beginning of \hyperlink{protocolthe-p}{the} routes being sent.


\begin{DoxyParams}{Parameters}
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_acaa1094d85223cb82b93e56fb765e1d7}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_af825112bd24a7a4d2f673327a8599684}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist6\_\-0\_\-1\_\-add\_\-route@{redist6\_\-0\_\-1\_\-add\_\-route}}
\index{redist6\_\-0\_\-1\_\-add\_\-route@{redist6\_\-0\_\-1\_\-add\_\-route}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist6\_\-0\_\-1\_\-add\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist6\_\-0\_\-1\_\-add\_\-route (
\begin{DoxyParamCaption}
\item[{const {\bf IPv6Net} \&}]{dst, }
\item[{const {\bf IPv6} \&}]{nexthop, }
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const uint32\_\-t \&}]{metric, }
\item[{const uint32\_\-t \&}]{admin\_\-distance, }
\item[{const string \&}]{cookie, }
\item[{const string \&}]{protocol\_\-origin}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_af825112bd24a7a4d2f673327a8599684}


Pure-\/virtual function that needs to be implemented to: 

Add/delete a routing entry.


\begin{DoxyParams}{Parameters}
{\em dst} & destination network.\\
\hline
{\em nexthop} & nexthop router address.\\
\hline
{\em ifname} & interface name associated with nexthop.\\
\hline
{\em vifname} & virtual interface name with nexthop.\\
\hline
{\em metric} & origin routing protocol metric for route.\\
\hline
{\em admin\_\-distance} & administrative distance of origin routing protocol.\\
\hline
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name.\\
\hline
{\em protocol\_\-origin} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} protocol that originated this routing entry. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_aca54bf502db0d14a0174b7ac17e5956a}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_af15324e2044fe8aa4db7324071a222d7}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump@{redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump}}
\index{redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump@{redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist6\_\-0\_\-1\_\-finishing\_\-route\_\-dump (
\begin{DoxyParamCaption}
\item[{const string \&}]{cookie}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_af15324e2044fe8aa4db7324071a222d7}


Pure-\/virtual function that needs to be implemented to: 

When route redistribution begins, \hyperlink{protocolthe-p}{the} receiver is sent \hyperlink{protocolthe-p}{the} existing list of routes. This message marks \hyperlink{protocolthe-p}{the} end of \hyperlink{protocolthe-p}{the} existing routes being sent.


\begin{DoxyParams}{Parameters}
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a99fcdbd07c1181ca67d35775f103c167}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a0dde4e24574876c39e5c3ec19f6ee2fa}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump@{redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump}}
\index{redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump@{redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} ShowRoutesProcessor::redist6\_\-0\_\-1\_\-starting\_\-route\_\-dump (
\begin{DoxyParamCaption}
\item[{const string \&}]{cookie}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a0dde4e24574876c39e5c3ec19f6ee2fa}


Pure-\/virtual function that needs to be implemented to: 

When route redistribution begins, \hyperlink{protocolthe-p}{the} receiver is sent \hyperlink{protocolthe-p}{the} existing list of routes. This message marks \hyperlink{protocolthe-p}{the} beginning of \hyperlink{protocolthe-p}{the} routes being sent.


\begin{DoxyParams}{Parameters}
{\em cookie} & value set by \hyperlink{protocolthe-p}{the} requestor to identify redistribution source. Typical value is \hyperlink{protocolthe-p}{the} originating protocol name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlShowRoutesTargetBase_a4534c4042791f24eec07ee7753acda95}{XrlShowRoutesTargetBase}.

\hypertarget{classShowRoutesProcessor_a10b1104e32c80f50edfd2427b2910803}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!shutdown@{shutdown}}
\index{shutdown@{shutdown}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{shutdown}]{\setlength{\rightskip}{0pt plus 5cm}int ShowRoutesProcessor::shutdown (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a10b1104e32c80f50edfd2427b2910803}


\hyperlink{classShutdown}{Shutdown} service. 

Service should transition from SERVICE\_\-RUNNING to SERVICE\_\-SHUTTING\_\-DOWN immediately and onto SERVICE\_\-SHUTDOWN or SERVICE\_\-FAILED in \hyperlink{protocolthe-p}{the} near future.

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classServiceBase_a6ad34506fd5a446d5667abcb2e1b593b}{ServiceBase}.

\hypertarget{classShowRoutesProcessor_a45a310a5eb6aa845f731f4228c64cf0e}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!startup@{startup}}
\index{startup@{startup}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{startup}]{\setlength{\rightskip}{0pt plus 5cm}int ShowRoutesProcessor::startup (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classShowRoutesProcessor_a45a310a5eb6aa845f731f4228c64cf0e}


Start service. 

Service should transition from SERVICE\_\-READY to SERVICE\_\-STARTING immediately and onto SERVICE\_\-RUNNING or SERVICE\_\-FAILED in \hyperlink{protocolthe-p}{the} near future.

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}


Implements \hyperlink{classServiceBase_a791755872b2056ddd82a2f00904c7d2b}{ServiceBase}.

\hypertarget{classShowRoutesProcessor_a3f38545baddfc31b6764bd519b7626e5}{
\index{ShowRoutesProcessor@{ShowRoutesProcessor}!step\_\-100\_\-watch\_\-rib@{step\_\-100\_\-watch\_\-rib}}
\index{step\_\-100\_\-watch\_\-rib@{step\_\-100\_\-watch\_\-rib}!ShowRoutesProcessor@{ShowRoutesProcessor}}
\subsubsection[{step\_\-100\_\-watch\_\-rib}]{\setlength{\rightskip}{0pt plus 5cm}void ShowRoutesProcessor::step\_\-100\_\-watch\_\-rib (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classShowRoutesProcessor_a3f38545baddfc31b6764bd519b7626e5}


Register with \hyperlink{classFinder}{Finder} to watch \hyperlink{classRIB}{RIB} birth and death events. 

If \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB} crashes we don't want to hang waiting for messages from \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB} that will never arrive (start route dump, add route, finish route dump) 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rib/tools/show\_\-routes.cc\end{DoxyCompactItemize}
