\hypertarget{classXrlCoordTarget}{
\section{XrlCoordTarget Class Reference}
\label{classXrlCoordTarget}\index{XrlCoordTarget@{XrlCoordTarget}}
}
Inheritance diagram for XrlCoordTarget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classXrlCoordTarget}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlCoordTarget_a04c7771e88fb85f48c496861ac1fbaba}{
{\bfseries XrlCoordTarget} (\hyperlink{classXrlRouter}{XrlRouter} $\ast$r, \hyperlink{classCoord}{Coord} \&coord)}
\label{classXrlCoordTarget_a04c7771e88fb85f48c496861ac1fbaba}

\item 
\hypertarget{classXrlCoordTarget_aa5c1e364b2b367adbf9075f1d6ede730}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_aa5c1e364b2b367adbf9075f1d6ede730}{common\_\-0\_\-1\_\-get\_\-target\_\-name} (string \&name)}
\label{classXrlCoordTarget_aa5c1e364b2b367adbf9075f1d6ede730}

\begin{DoxyCompactList}\small\item\em Get name of \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlCoordTarget_af8e8e8064882005a84a1619800381220}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_af8e8e8064882005a84a1619800381220}{common\_\-0\_\-1\_\-get\_\-version} (string \&version)}
\label{classXrlCoordTarget_af8e8e8064882005a84a1619800381220}

\begin{DoxyCompactList}\small\item\em Get version string from \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlCoordTarget_a2eef85f5c7f7ce987a38e61f1e8273da}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_a2eef85f5c7f7ce987a38e61f1e8273da}{common\_\-0\_\-1\_\-get\_\-status} (uint32\_\-t \&status, string \&reason)}
\label{classXrlCoordTarget_a2eef85f5c7f7ce987a38e61f1e8273da}

\begin{DoxyCompactList}\small\item\em Get status from \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_a68216dda6b04f5f852c352b7f24290d1}{common\_\-0\_\-1\_\-startup} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hypertarget{classXrlCoordTarget_a68d63f3315fd55e205bb13d8aea95156}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_a68d63f3315fd55e205bb13d8aea95156}{common\_\-0\_\-1\_\-shutdown} ()}
\label{classXrlCoordTarget_a68d63f3315fd55e205bb13d8aea95156}

\begin{DoxyCompactList}\small\item\em shutdown target \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_a9fa2909449ced885c58583d74c39f663}{coord\_\-0\_\-1\_\-command} (const string \&command)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_ab1d2dd6574590b7868431881b2fd6472}{coord\_\-0\_\-1\_\-status} (const string \&peer, string \&status)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlCoordTarget_ab53ea9ed686a692af6180a43ebbc8330}{coord\_\-0\_\-1\_\-pending} (bool \&pending)
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hypertarget{classXrlCoordTarget_ad9bb270ab11e927c2d3f52cb32ff5db0}{
\hyperlink{structXrlCmdError}{XrlCmdError} {\bfseries datain\_\-0\_\-1\_\-receive} (const string \&peer, const uint32\_\-t \&genid, const bool \&status, const uint32\_\-t \&secs, const uint32\_\-t \&micro, const vector$<$ uint8\_\-t $>$ \&data)}
\label{classXrlCoordTarget_ad9bb270ab11e927c2d3f52cb32ff5db0}

\item 
\hypertarget{classXrlCoordTarget_af04657218dfcc3556ea8bb336f6b0ced}{
\hyperlink{structXrlCmdError}{XrlCmdError} {\bfseries datain\_\-0\_\-1\_\-error} (const string \&peer, const uint32\_\-t \&genid, const string \&reason)}
\label{classXrlCoordTarget_af04657218dfcc3556ea8bb336f6b0ced}

\item 
\hypertarget{classXrlCoordTarget_a51a7b62ae23e039b0f09d137d31ad9dd}{
\hyperlink{structXrlCmdError}{XrlCmdError} {\bfseries datain\_\-0\_\-1\_\-closed} (const string \&peer, const uint32\_\-t \&genid)}
\label{classXrlCoordTarget_a51a7b62ae23e039b0f09d137d31ad9dd}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlCoordTarget_af6c83f764b39ffe13168e128f7bfb66b}{
\hyperlink{classCoord}{Coord} \& {\bfseries \_\-coord}}
\label{classXrlCoordTarget_af6c83f764b39ffe13168e128f7bfb66b}

\item 
\hypertarget{classXrlCoordTarget_a00b237e51ad8fa83198fdb4bc54215ec}{
int {\bfseries \_\-incommand}}
\label{classXrlCoordTarget_a00b237e51ad8fa83198fdb4bc54215ec}

\end{DoxyCompactItemize}


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


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

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

Implements \hyperlink{structXrlCoordTargetBase_a060dcd7b079c3f67ed81162a65bfd4fc}{XrlCoordTargetBase}.

\hypertarget{classXrlCoordTarget_a9fa2909449ced885c58583d74c39f663}{
\index{XrlCoordTarget@{XrlCoordTarget}!coord\_\-0\_\-1\_\-command@{coord\_\-0\_\-1\_\-command}}
\index{coord\_\-0\_\-1\_\-command@{coord\_\-0\_\-1\_\-command}!XrlCoordTarget@{XrlCoordTarget}}
\subsubsection[{coord\_\-0\_\-1\_\-command}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlCoordTarget::coord\_\-0\_\-1\_\-command (
\begin{DoxyParamCaption}
\item[{const string \&}]{command}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlCoordTarget_a9fa2909449ced885c58583d74c39f663}


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

\hyperlink{classCommand}{Command} to be executed by \hyperlink{protocolthe-p}{the} coordinating process.


\begin{DoxyParams}{Parameters}
{\em command} & to be sent to \hyperlink{protocolthe-p}{the} coordinator. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlCoordTargetBase_a96d25339412c087097e3bf829641f28e}{XrlCoordTargetBase}.

\hypertarget{classXrlCoordTarget_ab53ea9ed686a692af6180a43ebbc8330}{
\index{XrlCoordTarget@{XrlCoordTarget}!coord\_\-0\_\-1\_\-pending@{coord\_\-0\_\-1\_\-pending}}
\index{coord\_\-0\_\-1\_\-pending@{coord\_\-0\_\-1\_\-pending}!XrlCoordTarget@{XrlCoordTarget}}
\subsubsection[{coord\_\-0\_\-1\_\-pending}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlCoordTarget::coord\_\-0\_\-1\_\-pending (
\begin{DoxyParamCaption}
\item[{bool \&}]{pending}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlCoordTarget_ab53ea9ed686a692af6180a43ebbc8330}


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

If there are still any outstanding commands pending will return true. Can be used to poll \hyperlink{protocolthe-p}{the} coordinating process to verify that \hyperlink{protocolthe-p}{the} previous command has completed. 

Implements \hyperlink{structXrlCoordTargetBase_a6d7f69e727e0e6fae2be9ea603a60b73}{XrlCoordTargetBase}.

\hypertarget{classXrlCoordTarget_ab1d2dd6574590b7868431881b2fd6472}{
\index{XrlCoordTarget@{XrlCoordTarget}!coord\_\-0\_\-1\_\-status@{coord\_\-0\_\-1\_\-status}}
\index{coord\_\-0\_\-1\_\-status@{coord\_\-0\_\-1\_\-status}!XrlCoordTarget@{XrlCoordTarget}}
\subsubsection[{coord\_\-0\_\-1\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlCoordTarget::coord\_\-0\_\-1\_\-status (
\begin{DoxyParamCaption}
\item[{const string \&}]{peer, }
\item[{string \&}]{status}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlCoordTarget_ab1d2dd6574590b7868431881b2fd6472}


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

Status, show \hyperlink{protocolthe-p}{the} state of this peer. 

Implements \hyperlink{structXrlCoordTargetBase_a1748f9a841625d3e7dd4cf38d11b59fb}{XrlCoordTargetBase}.



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