\hypertarget{classIfConfigUpdateReplicator}{
\section{IfConfigUpdateReplicator Class Reference}
\label{classIfConfigUpdateReplicator}\index{IfConfigUpdateReplicator@{IfConfigUpdateReplicator}}
}


A class to replicate update notifications to multiple reporters.  




{\ttfamily \#include $<$ifconfig\_\-reporter.hh$>$}

Inheritance diagram for IfConfigUpdateReplicator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classIfConfigUpdateReplicator}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigUpdateReplicator_a46e867fd1daf26b2fce17156531bece4}{
typedef IfConfigUpdateReporterBase::Update {\bfseries Update}}
\label{classIfConfigUpdateReplicator_a46e867fd1daf26b2fce17156531bece4}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigUpdateReplicator_a45e7fc252187a578012619663f721876}{
{\bfseries IfConfigUpdateReplicator} (const \hyperlink{classIfTree}{IfTree} \&observed\_\-iftree)}
\label{classIfConfigUpdateReplicator_a45e7fc252187a578012619663f721876}

\item 
int \hyperlink{classIfConfigUpdateReplicator_a56083887081c8cc80fa15b9164b32bac}{add\_\-reporter} (\hyperlink{classIfConfigUpdateReporterBase}{IfConfigUpdateReporterBase} $\ast$rp)
\begin{DoxyCompactList}\small\item\em Add a reporter instance to update notification list. \item\end{DoxyCompactList}\item 
int \hyperlink{classIfConfigUpdateReplicator_a4613ad3ff4fbe4fccc89746dbf733dbf}{remove\_\-reporter} (\hyperlink{classIfConfigUpdateReporterBase}{IfConfigUpdateReporterBase} $\ast$rp)
\begin{DoxyCompactList}\small\item\em Remove a reporter instance from update notification list. \item\end{DoxyCompactList}\item 
\hypertarget{classIfConfigUpdateReplicator_a2a61b2a00967109f51dd6a017f4eb3cf}{
void \hyperlink{classIfConfigUpdateReplicator_a2a61b2a00967109f51dd6a017f4eb3cf}{interface\_\-update} (const string \&ifname, const Update \&u)}
\label{classIfConfigUpdateReplicator_a2a61b2a00967109f51dd6a017f4eb3cf}

\begin{DoxyCompactList}\small\item\em Forward interface update notification to reporter instances on update notification list. \item\end{DoxyCompactList}\item 
\hypertarget{classIfConfigUpdateReplicator_a007df6a98fc043cb56fdc9dd785fc796}{
void \hyperlink{classIfConfigUpdateReplicator_a007df6a98fc043cb56fdc9dd785fc796}{vif\_\-update} (const string \&ifname, const string \&vifname, const Update \&u)}
\label{classIfConfigUpdateReplicator_a007df6a98fc043cb56fdc9dd785fc796}

\begin{DoxyCompactList}\small\item\em Forward virtual interface update notification to reporter instances on update notification list. \item\end{DoxyCompactList}\item 
\hypertarget{classIfConfigUpdateReplicator_a2c201b5dd4ddd539190ec0e7dd06c565}{
void \hyperlink{classIfConfigUpdateReplicator_a2c201b5dd4ddd539190ec0e7dd06c565}{vifaddr4\_\-update} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&addr, const Update \&u)}
\label{classIfConfigUpdateReplicator_a2c201b5dd4ddd539190ec0e7dd06c565}

\begin{DoxyCompactList}\small\item\em Forward virtual interface address update notification to reporter instances on update notification list. \item\end{DoxyCompactList}\item 
\hypertarget{classIfConfigUpdateReplicator_a3245089b6170dd07c4b5d7af6ce78192}{
void \hyperlink{classIfConfigUpdateReplicator_a3245089b6170dd07c4b5d7af6ce78192}{updates\_\-completed} ()}
\label{classIfConfigUpdateReplicator_a3245089b6170dd07c4b5d7af6ce78192}

\begin{DoxyCompactList}\small\item\em Forward notification that updates were completed to reporter instances on update notification list. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigUpdateReplicator_ab951e4bd2731c37c236dc359cda4e0d8}{
list$<$ \hyperlink{classIfConfigUpdateReporterBase}{IfConfigUpdateReporterBase} $\ast$ $>$ {\bfseries \_\-reporters}}
\label{classIfConfigUpdateReplicator_ab951e4bd2731c37c236dc359cda4e0d8}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class to replicate update notifications to multiple reporters. 

\subsection{Member Function Documentation}
\hypertarget{classIfConfigUpdateReplicator_a56083887081c8cc80fa15b9164b32bac}{
\index{IfConfigUpdateReplicator@{IfConfigUpdateReplicator}!add\_\-reporter@{add\_\-reporter}}
\index{add\_\-reporter@{add\_\-reporter}!IfConfigUpdateReplicator@{IfConfigUpdateReplicator}}
\subsubsection[{add\_\-reporter}]{\setlength{\rightskip}{0pt plus 5cm}int IfConfigUpdateReplicator::add\_\-reporter (
\begin{DoxyParamCaption}
\item[{{\bf IfConfigUpdateReporterBase} $\ast$}]{rp}
\end{DoxyParamCaption}
)}}
\label{classIfConfigUpdateReplicator_a56083887081c8cc80fa15b9164b32bac}


Add a reporter instance to update notification list. 

\begin{DoxyReturn}{Returns}
XORP\_\-OK on success, otherwise XORP\_\-ERROR. 
\end{DoxyReturn}
\hypertarget{classIfConfigUpdateReplicator_a4613ad3ff4fbe4fccc89746dbf733dbf}{
\index{IfConfigUpdateReplicator@{IfConfigUpdateReplicator}!remove\_\-reporter@{remove\_\-reporter}}
\index{remove\_\-reporter@{remove\_\-reporter}!IfConfigUpdateReplicator@{IfConfigUpdateReplicator}}
\subsubsection[{remove\_\-reporter}]{\setlength{\rightskip}{0pt plus 5cm}int IfConfigUpdateReplicator::remove\_\-reporter (
\begin{DoxyParamCaption}
\item[{{\bf IfConfigUpdateReporterBase} $\ast$}]{rp}
\end{DoxyParamCaption}
)}}
\label{classIfConfigUpdateReplicator_a4613ad3ff4fbe4fccc89746dbf733dbf}


Remove a reporter instance from update notification list. 

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


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