\hypertarget{classDummyFinderTcp}{
\section{DummyFinderTcp Class Reference}
\label{classDummyFinderTcp}\index{DummyFinderTcp@{DummyFinderTcp}}
}
Inheritance diagram for DummyFinderTcp:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classDummyFinderTcp}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDummyFinderTcp_ae04d4c20186c65f3c9d7b2b530e5a9df}{
{\bfseries DummyFinderTcp} (\hyperlink{classEventLoop}{EventLoop} \&e, \hyperlink{classXorpFd}{XorpFd} fd, const char $\ast$name)}
\label{classDummyFinderTcp_ae04d4c20186c65f3c9d7b2b530e5a9df}

\item 
bool \hyperlink{classDummyFinderTcp_a3aa73b68a10cd018c0c32a49f440b96d}{read\_\-event} (int errval, const uint8\_\-t $\ast$data, uint32\_\-t data\_\-bytes)
\begin{DoxyCompactList}\small\item\em Method to be implemented by derived classes that is called when data arrives or an error occurs when processing when data arrives. \item\end{DoxyCompactList}\item 
void \hyperlink{classDummyFinderTcp_a3775134c6d3a0c7d6f4088025e1bdd29}{write\_\-event} (int errval, const uint8\_\-t $\ast$data, uint32\_\-t data\_\-bytes)
\begin{DoxyCompactList}\small\item\em Method to be implemented by derived classes that is called when data writing completes or an error occurs when processing when write. \item\end{DoxyCompactList}\item 
\hypertarget{classDummyFinderTcp_a19fc4b79ad7b72902ba85623d9c7f02a}{
void {\bfseries write\_\-msg} ()}
\label{classDummyFinderTcp_a19fc4b79ad7b72902ba85623d9c7f02a}

\item 
\hypertarget{classDummyFinderTcp_ab05bae412518b16f92011f3e8ab65ad5}{
uint32\_\-t {\bfseries read\_\-events} () const }
\label{classDummyFinderTcp_ab05bae412518b16f92011f3e8ab65ad5}

\item 
\hypertarget{classDummyFinderTcp_a22364de47e2aa815352ad4ac85a6d35f}{
uint32\_\-t {\bfseries write\_\-events} () const }
\label{classDummyFinderTcp_a22364de47e2aa815352ad4ac85a6d35f}

\item 
\hypertarget{classDummyFinderTcp_ab1cd802b617922ea48de6266573f2067}{
bool {\bfseries can\_\-write} () const }
\label{classDummyFinderTcp_ab1cd802b617922ea48de6266573f2067}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDummyFinderTcp_a414d68b339e952d1c8445803b0a38dc8}{
const char $\ast$ {\bfseries \_\-name}}
\label{classDummyFinderTcp_a414d68b339e952d1c8445803b0a38dc8}

\item 
\hypertarget{classDummyFinderTcp_ac303d023290685459de72522eb65107f}{
char {\bfseries \_\-buf} \mbox{[}255\mbox{]}}
\label{classDummyFinderTcp_ac303d023290685459de72522eb65107f}

\item 
\hypertarget{classDummyFinderTcp_a196fce98844df240919b5739ef8a12b2}{
uint32\_\-t {\bfseries \_\-reads}}
\label{classDummyFinderTcp_a196fce98844df240919b5739ef8a12b2}

\item 
\hypertarget{classDummyFinderTcp_a20d557a9acdb62ccd4e965ada912e6a1}{
uint32\_\-t {\bfseries \_\-writes}}
\label{classDummyFinderTcp_a20d557a9acdb62ccd4e965ada912e6a1}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classDummyFinderTcp_a3aa73b68a10cd018c0c32a49f440b96d}{
\index{DummyFinderTcp@{DummyFinderTcp}!read\_\-event@{read\_\-event}}
\index{read\_\-event@{read\_\-event}!DummyFinderTcp@{DummyFinderTcp}}
\subsubsection[{read\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}bool DummyFinderTcp::read\_\-event (
\begin{DoxyParamCaption}
\item[{int}]{errval, }
\item[{const uint8\_\-t $\ast$}]{data, }
\item[{uint32\_\-t}]{data\_\-bytes}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classDummyFinderTcp_a3aa73b68a10cd018c0c32a49f440b96d}


Method to be implemented by derived classes that is called when data arrives or an error occurs when processing when data arrives. 


\begin{DoxyParams}{Parameters}
{\em errval} & error code, values are equivalent to errno. \\
\hline
{\em data} & pointer to data \\
\hline
{\em data\_\-bytes} & size of data. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} data was processed without an error and \hyperlink{protocolthe-p}{the} connection was kept, otherwise false. 
\end{DoxyReturn}


Implements \hyperlink{classFinderTcpBase_a7e42a4051b4baacf148755bc8f2a28e5}{FinderTcpBase}.

\hypertarget{classDummyFinderTcp_a3775134c6d3a0c7d6f4088025e1bdd29}{
\index{DummyFinderTcp@{DummyFinderTcp}!write\_\-event@{write\_\-event}}
\index{write\_\-event@{write\_\-event}!DummyFinderTcp@{DummyFinderTcp}}
\subsubsection[{write\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}void DummyFinderTcp::write\_\-event (
\begin{DoxyParamCaption}
\item[{int}]{errval, }
\item[{const uint8\_\-t $\ast$}]{data, }
\item[{uint32\_\-t}]{data\_\-bytes}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classDummyFinderTcp_a3775134c6d3a0c7d6f4088025e1bdd29}


Method to be implemented by derived classes that is called when data writing completes or an error occurs when processing when write. 


\begin{DoxyParams}{Parameters}
{\em errval} & error code, values are equivalent to errno. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classFinderTcpBase_ac7f3903fd6ade715f647038ed12abce8}{FinderTcpBase}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/libxipc/tests/test\_\-finder\_\-tcp.cc\end{DoxyCompactItemize}
