\hypertarget{classIfMgrXrlMirrorRouter}{
\section{IfMgrXrlMirrorRouter Class Reference}
\label{classIfMgrXrlMirrorRouter}\index{IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}}
}
Inheritance diagram for IfMgrXrlMirrorRouter:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=6.000000cm]{classIfMgrXrlMirrorRouter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrXrlMirrorRouter_a6848452877d646911c7696c986caaf53}{
{\bfseries IfMgrXrlMirrorRouter} (\hyperlink{classEventLoop}{EventLoop} \&e, const char $\ast$class\_\-name)}
\label{classIfMgrXrlMirrorRouter_a6848452877d646911c7696c986caaf53}

\item 
\hypertarget{classIfMgrXrlMirrorRouter_a5fd90c72b9ae9e973f1184f53dbcfb4c}{
{\bfseries IfMgrXrlMirrorRouter} (\hyperlink{classEventLoop}{EventLoop} \&e, const char $\ast$class\_\-name, \hyperlink{classIPv4}{IPv4} finder\_\-addr)}
\label{classIfMgrXrlMirrorRouter_a5fd90c72b9ae9e973f1184f53dbcfb4c}

\item 
\hypertarget{classIfMgrXrlMirrorRouter_acb3df29e0c2e42a702c0052a67c28290}{
{\bfseries IfMgrXrlMirrorRouter} (\hyperlink{classEventLoop}{EventLoop} \&e, const char $\ast$class\_\-name, \hyperlink{classIPv4}{IPv4} finder\_\-addr, uint16\_\-t finder\_\-port)}
\label{classIfMgrXrlMirrorRouter_acb3df29e0c2e42a702c0052a67c28290}

\item 
\hypertarget{classIfMgrXrlMirrorRouter_a947b79034c763c31d6c678b15ceb9f4a}{
{\bfseries IfMgrXrlMirrorRouter} (\hyperlink{classEventLoop}{EventLoop} \&e, const char $\ast$class\_\-name, const char $\ast$finder\_\-hostname, uint16\_\-t finder\_\-port)}
\label{classIfMgrXrlMirrorRouter_a947b79034c763c31d6c678b15ceb9f4a}

\item 
bool \hyperlink{classIfMgrXrlMirrorRouter_ab407c051781aca80e5084be3e7ac9065}{attach} (\hyperlink{classIfMgrXrlMirrorRouterObserver}{IfMgrXrlMirrorRouterObserver} $\ast$o)
\begin{DoxyCompactList}\small\item\em Attach an observer to router. \item\end{DoxyCompactList}\item 
bool \hyperlink{classIfMgrXrlMirrorRouter_aa2ec12e47fba0eea714b9cce183de24e}{detach} (\hyperlink{classIfMgrXrlMirrorRouterObserver}{IfMgrXrlMirrorRouterObserver} $\ast$o)
\begin{DoxyCompactList}\small\item\em Detach an observer to router. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classIfMgrXrlMirrorRouter_a02a96880c87d6c9708aece77a4f66b9f}{finder\_\-ready\_\-event} (const string \&tgt\_\-name)
\begin{DoxyCompactList}\small\item\em Called when an \hyperlink{classXrl}{Xrl} Target becomes visible to other processes. \item\end{DoxyCompactList}\item 
\hypertarget{classIfMgrXrlMirrorRouter_a15f8a4bcf4e223460a8d5548bc61918d}{
void \hyperlink{classIfMgrXrlMirrorRouter_a15f8a4bcf4e223460a8d5548bc61918d}{finder\_\-disconnect\_\-event} ()}
\label{classIfMgrXrlMirrorRouter_a15f8a4bcf4e223460a8d5548bc61918d}

\begin{DoxyCompactList}\small\item\em Called when \hyperlink{classFinder}{Finder} disconnect occurs. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfMgrXrlMirrorRouter_a567227e30833db35e8b425b8da4d6314}{
\hyperlink{classIfMgrXrlMirrorRouterObserver}{IfMgrXrlMirrorRouterObserver} $\ast$ {\bfseries \_\-o}}
\label{classIfMgrXrlMirrorRouter_a567227e30833db35e8b425b8da4d6314}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classIfMgrXrlMirrorRouter_ab407c051781aca80e5084be3e7ac9065}{
\index{IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}!attach@{attach}}
\index{attach@{attach}!IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}}
\subsubsection[{attach}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrXrlMirrorRouter::attach (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrXrlMirrorRouterObserver} $\ast$}]{o}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfMgrXrlMirrorRouter_ab407c051781aca80e5084be3e7ac9065}


Attach an observer to router. 

Only one observer is permitted.


\begin{DoxyParams}{Parameters}
{\em o} & observer to attach. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false if an observer is already registered; 
\end{DoxyReturn}
\hypertarget{classIfMgrXrlMirrorRouter_aa2ec12e47fba0eea714b9cce183de24e}{
\index{IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}!detach@{detach}}
\index{detach@{detach}!IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}}
\subsubsection[{detach}]{\setlength{\rightskip}{0pt plus 5cm}bool IfMgrXrlMirrorRouter::detach (
\begin{DoxyParamCaption}
\item[{{\bf IfMgrXrlMirrorRouterObserver} $\ast$}]{o}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfMgrXrlMirrorRouter_aa2ec12e47fba0eea714b9cce183de24e}


Detach an observer to router. 


\begin{DoxyParams}{Parameters}
{\em o} & observer to detach. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false if another observer is attached; 
\end{DoxyReturn}
\hypertarget{classIfMgrXrlMirrorRouter_a02a96880c87d6c9708aece77a4f66b9f}{
\index{IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}!finder\_\-ready\_\-event@{finder\_\-ready\_\-event}}
\index{finder\_\-ready\_\-event@{finder\_\-ready\_\-event}!IfMgrXrlMirrorRouter@{IfMgrXrlMirrorRouter}}
\subsubsection[{finder\_\-ready\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}void IfMgrXrlMirrorRouter::finder\_\-ready\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{tgt\_\-name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected, virtual\mbox{]}}}}
\label{classIfMgrXrlMirrorRouter_a02a96880c87d6c9708aece77a4f66b9f}


Called when an \hyperlink{classXrl}{Xrl} Target becomes visible to other processes. 

Implementers of this method should check tgt\_\-name corresponds to \hyperlink{protocolthe-p}{the} XrlRouter::instance\_\-name as other targets within same process may cause this method to be invoked.

Default implementation is a no-\/op.


\begin{DoxyParams}{Parameters}
{\em tgt\_\-name} & name of \hyperlink{classXrl}{Xrl} Target becoming ready. \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{classXrlRouter_abb02bd6c9e8445a6b0a7897694004f38}{XrlRouter}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libfeaclient/ifmgr\_\-xrl\_\-mirror.cc\end{DoxyCompactItemize}
