\hypertarget{classXrlSender}{
\section{XrlSender Class Reference}
\label{classXrlSender}\index{XrlSender@{XrlSender}}
}


Base for classes able to transport Xrls.  




{\ttfamily \#include $<$xrl\_\-sender.hh$>$}

Inheritance diagram for XrlSender:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=10.405405cm]{classXrlSender}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlSender_a2f7b047896471ae2d2a8f07ba9daa626}{
typedef XorpCallback2$<$ void, const \hyperlink{classXrlError}{XrlError} \&, \hyperlink{classXrlArgs}{XrlArgs} $\ast$ $>$::RefPtr {\bfseries Callback}}
\label{classXrlSender_a2f7b047896471ae2d2a8f07ba9daa626}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual bool \hyperlink{classXrlSender_a17e2d25c7ecbd444dd1677decaf526cc}{send} (const \hyperlink{classXrl}{Xrl} \&xrl, const Callback \&scb)=0
\item 
\hypertarget{classXrlSender_a7d33a6c4d408c75144e829d1ee7b61d8}{
virtual bool \hyperlink{classXrlSender_a7d33a6c4d408c75144e829d1ee7b61d8}{pending} () const =0}
\label{classXrlSender_a7d33a6c4d408c75144e829d1ee7b61d8}

\begin{DoxyCompactList}\small\item\em Return true if sender has send requests pending. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base for classes able to transport Xrls. See \hyperlink{xrl__router_8hh_source}{xrl\_\-router.hh} for implementor of this base class. 

\subsection{Member Function Documentation}
\hypertarget{classXrlSender_a17e2d25c7ecbd444dd1677decaf526cc}{
\index{XrlSender@{XrlSender}!send@{send}}
\index{send@{send}!XrlSender@{XrlSender}}
\subsubsection[{send}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool XrlSender::send (
\begin{DoxyParamCaption}
\item[{const {\bf Xrl} \&}]{xrl, }
\item[{const Callback \&}]{scb}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classXrlSender_a17e2d25c7ecbd444dd1677decaf526cc}

\begin{DoxyParams}{Parameters}
{\em xrl} & \hyperlink{classXrl}{Xrl} to be sent. \\
\hline
{\em scb} & callback to be invoked with result from \hyperlink{classXrl}{Xrl}\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{classXrl}{Xrl} is accepted for sending, false otherwise. 
\end{DoxyReturn}


Implemented in \hyperlink{classXrlFakeSender_aa2b1c3f364ba0d2755f370b229d62b39}{XrlFakeSender}, \hyperlink{classFinderMessengerBase_ad9115b56d587d89624edda9f315c4673}{FinderMessengerBase}, \hyperlink{classFinderTcpMessenger_a763d25e2260fb5948782d261e80faf7d}{FinderTcpMessenger}, and \hyperlink{classXrlRouter_a4a051eab5d9c9edbf56533e4de7b5da4}{XrlRouter}.



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