\hypertarget{classTestPeer}{
\section{TestPeer Class Reference}
\label{classTestPeer}\index{TestPeer@{TestPeer}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structTestPeer_1_1Queued}{Queued}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTestPeer_a02f825de6bc1e4a88c4890af9133f45c}{
{\bfseries TestPeer} (\hyperlink{classEventLoop}{EventLoop} \&eventloop, \hyperlink{classXrlRouter}{XrlRouter} \&xrlrouter, const char $\ast$server, bool verbose)}
\label{classTestPeer_a02f825de6bc1e4a88c4890af9133f45c}

\item 
\hypertarget{classTestPeer_a7e0c78241849f619af1931e784b3911c}{
bool {\bfseries done} ()}
\label{classTestPeer_a7e0c78241849f619af1931e784b3911c}

\item 
\hypertarget{classTestPeer_a51722493d24b55dc9992d4deb670629d}{
void {\bfseries register\_\-coordinator} (const string \&name)}
\label{classTestPeer_a51722493d24b55dc9992d4deb670629d}

\item 
\hypertarget{classTestPeer_ae4807d52cc265f0a46d20c219ee65258}{
void {\bfseries register\_\-genid} (const uint32\_\-t \&genid)}
\label{classTestPeer_ae4807d52cc265f0a46d20c219ee65258}

\item 
\hypertarget{classTestPeer_abdd8ec8872b09cb8c7cca7ba51d302c3}{
bool {\bfseries packetisation} (const string \&protocol)}
\label{classTestPeer_abdd8ec8872b09cb8c7cca7ba51d302c3}

\item 
\hypertarget{classTestPeer_a2bd4dfa213387bbf29ed3173d7bf89cf}{
void {\bfseries use\_\-4byte\_\-asnums} (bool use)}
\label{classTestPeer_a2bd4dfa213387bbf29ed3173d7bf89cf}

\item 
\hypertarget{classTestPeer_a21c2259b36f98b7e89910c6191e9f026}{
bool {\bfseries connect} (const string \&host, const uint32\_\-t \&port, string \&error\_\-string)}
\label{classTestPeer_a21c2259b36f98b7e89910c6191e9f026}

\item 
\hypertarget{classTestPeer_a5ce683ad1baf0b87b6561e1f5b5eefe7}{
bool {\bfseries listen} (const string \&host, const uint32\_\-t \&port, string \&error\_\-string)}
\label{classTestPeer_a5ce683ad1baf0b87b6561e1f5b5eefe7}

\item 
\hypertarget{classTestPeer_a0e30aa9d38d56f3ab8fc194b68a6cd64}{
bool {\bfseries bind} (const string \&host, const uint32\_\-t \&port, string \&error\_\-string)}
\label{classTestPeer_a0e30aa9d38d56f3ab8fc194b68a6cd64}

\item 
\hypertarget{classTestPeer_a3e638f104dda9e894b03d89773ebc874}{
bool {\bfseries send} (const vector$<$ uint8\_\-t $>$ \&data, string \&error\_\-string)}
\label{classTestPeer_a3e638f104dda9e894b03d89773ebc874}

\item 
\hypertarget{classTestPeer_a42a6642f5f4f8f14ddf8dc6faf0f6900}{
void {\bfseries send\_\-complete} (AsyncFileWriter::Event ev, const uint8\_\-t $\ast$buf, const size\_\-t buf\_\-bytes, const size\_\-t offset)}
\label{classTestPeer_a42a6642f5f4f8f14ddf8dc6faf0f6900}

\item 
\hypertarget{classTestPeer_a82afb5d29fa35c7ac1283aa64d2b3e61}{
bool {\bfseries zap} (\hyperlink{classXorpFd}{XorpFd} \&fd, const char $\ast$msg)}
\label{classTestPeer_a82afb5d29fa35c7ac1283aa64d2b3e61}

\item 
\hypertarget{classTestPeer_a7632e8c63754c42071877a3c182a1915}{
bool {\bfseries disconnect} (string \&error\_\-string)}
\label{classTestPeer_a7632e8c63754c42071877a3c182a1915}

\item 
\hypertarget{classTestPeer_a1ed2defc455353d9880c1e8fc49e914a}{
void {\bfseries reset} ()}
\label{classTestPeer_a1ed2defc455353d9880c1e8fc49e914a}

\item 
\hypertarget{classTestPeer_a9b84079e69d0c0a5b1bb34c24adff735}{
bool {\bfseries terminate} (string \&error\_\-string)}
\label{classTestPeer_a9b84079e69d0c0a5b1bb34c24adff735}

\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries status} \{ {\bfseries GOOD}, 
{\bfseries CLOSED}, 
{\bfseries ERROR}
 \}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTestPeer_a58b364b25e4f8ccafc4b342acd53473e}{
void {\bfseries connect\_\-attempt} (\hyperlink{classXorpFd}{XorpFd} fd, IoEventType type)}
\label{classTestPeer_a58b364b25e4f8ccafc4b342acd53473e}

\item 
\hypertarget{classTestPeer_aaad4a8ce4a7d57cb86225ecbe844fc02}{
void {\bfseries receive} (\hyperlink{classXorpFd}{XorpFd} fd, IoEventType type)}
\label{classTestPeer_aaad4a8ce4a7d57cb86225ecbe844fc02}

\item 
\hypertarget{classTestPeer_ab6620941453442adfbed1394f5498acc}{
void {\bfseries datain} (status st, uint8\_\-t $\ast$ptr, size\_\-t len, string error=\char`\"{}\char`\"{})}
\label{classTestPeer_ab6620941453442adfbed1394f5498acc}

\item 
\hypertarget{classTestPeer_a9ea2174034f593421823b3bdd9f1f922}{
void {\bfseries queue\_\-data} (status st, uint8\_\-t $\ast$ptr, size\_\-t len, string error)}
\label{classTestPeer_a9ea2174034f593421823b3bdd9f1f922}

\item 
\hypertarget{classTestPeer_af87f3b3b5473e0a8f8a1b3cfd269f28a}{
void {\bfseries sendit} ()}
\label{classTestPeer_af87f3b3b5473e0a8f8a1b3cfd269f28a}

\item 
\hypertarget{classTestPeer_a710276646aa42c5c860f15d58a7743e8}{
void {\bfseries xrl\_\-callback} (const \hyperlink{classXrlError}{XrlError} \&error)}
\label{classTestPeer_a710276646aa42c5c860f15d58a7743e8}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTestPeer_a8f3fa238b72a682a8b098cc6fd8bd2b7}{
{\bfseries TestPeer} (const \hyperlink{classTestPeer}{TestPeer} \&)}
\label{classTestPeer_a8f3fa238b72a682a8b098cc6fd8bd2b7}

\item 
\hypertarget{classTestPeer_a91fb6f24c381126881c9e0c0b7a1148c}{
\hyperlink{classTestPeer}{TestPeer} \& {\bfseries operator=} (const \hyperlink{classTestPeer}{TestPeer} \&)}
\label{classTestPeer_a91fb6f24c381126881c9e0c0b7a1148c}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTestPeer_a63829fbdbe11092e8fd853dc162de8c0}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-eventloop}}
\label{classTestPeer_a63829fbdbe11092e8fd853dc162de8c0}

\item 
\hypertarget{classTestPeer_a89bca274d906195167414fd30bb365cb}{
\hyperlink{classXrlRouter}{XrlRouter} \& {\bfseries \_\-xrlrouter}}
\label{classTestPeer_a89bca274d906195167414fd30bb365cb}

\item 
\hypertarget{classTestPeer_a7256f7239004ce2e897bfbb8098c5968}{
\hyperlink{classLocalData}{LocalData} $\ast$ {\bfseries \_\-localdata}}
\label{classTestPeer_a7256f7239004ce2e897bfbb8098c5968}

\item 
\hypertarget{classTestPeer_a854254f77336df870b62fec52903c547}{
\hyperlink{classBGPPeerData}{BGPPeerData} $\ast$ {\bfseries \_\-peerdata}}
\label{classTestPeer_a854254f77336df870b62fec52903c547}

\item 
\hypertarget{classTestPeer_a25612022ab92552ec0d26e0225f0769a}{
const char $\ast$ {\bfseries \_\-server}}
\label{classTestPeer_a25612022ab92552ec0d26e0225f0769a}

\item 
\hypertarget{classTestPeer_a6e613f96f4c85e243f3a377c38b94c11}{
const bool {\bfseries \_\-verbose}}
\label{classTestPeer_a6e613f96f4c85e243f3a377c38b94c11}

\item 
\hypertarget{classTestPeer_aeb8d950172be9cff1b1a69cd4d86dc8f}{
bool {\bfseries \_\-done}}
\label{classTestPeer_aeb8d950172be9cff1b1a69cd4d86dc8f}

\item 
\hypertarget{classTestPeer_a30cf304a06a5cd1b39c3923b39170f52}{
\hyperlink{classXorpFd}{XorpFd} {\bfseries \_\-s}}
\label{classTestPeer_a30cf304a06a5cd1b39c3923b39170f52}

\item 
\hypertarget{classTestPeer_a3dd419a870e85d30275656f7aafcd916}{
\hyperlink{classXorpFd}{XorpFd} {\bfseries \_\-listen}}
\label{classTestPeer_a3dd419a870e85d30275656f7aafcd916}

\item 
\hypertarget{classTestPeer_a86a1df87343a23eb14b325f9edd2fa10}{
\hyperlink{classXorpFd}{XorpFd} {\bfseries \_\-bind}}
\label{classTestPeer_a86a1df87343a23eb14b325f9edd2fa10}

\item 
\hypertarget{classTestPeer_a0774804a9ea27a25d62b34efcd082f5b}{
\hyperlink{classAsyncFileWriter}{AsyncFileWriter} $\ast$ {\bfseries \_\-async\_\-writer}}
\label{classTestPeer_a0774804a9ea27a25d62b34efcd082f5b}

\item 
\hypertarget{classTestPeer_a6ba28ed254e922d94661de1d39f01325}{
string {\bfseries \_\-coordinator}}
\label{classTestPeer_a6ba28ed254e922d94661de1d39f01325}

\item 
\hypertarget{classTestPeer_a4e0379599a1bdfe9d4bb426039de0b7f}{
uint32\_\-t {\bfseries \_\-genid}}
\label{classTestPeer_a4e0379599a1bdfe9d4bb426039de0b7f}

\item 
\hypertarget{classTestPeer_aa4a9f255aacb4c97ceec8e157f5f8e80}{
bool {\bfseries \_\-bgp}}
\label{classTestPeer_aa4a9f255aacb4c97ceec8e157f5f8e80}

\item 
\hypertarget{classTestPeer_a6f1f3d82b837e22dfce135d024f63702}{
bool {\bfseries \_\-use\_\-4byte\_\-asnums}}
\label{classTestPeer_a6f1f3d82b837e22dfce135d024f63702}

\item 
\hypertarget{classTestPeer_a9b9f286b2e2cc5d4024f2f00650ce3de}{
queue$<$ \hyperlink{structTestPeer_1_1Queued}{Queued} $>$ {\bfseries \_\-xrl\_\-queue}}
\label{classTestPeer_a9b9f286b2e2cc5d4024f2f00650ce3de}

\item 
\hypertarget{classTestPeer_aa156992430bf45b0011afba4d75f4725}{
int {\bfseries \_\-flying}}
\label{classTestPeer_aa156992430bf45b0011afba4d75f4725}

\item 
\hypertarget{classTestPeer_aae863c9735dac1f65ae31927f10db266}{
size\_\-t {\bfseries \_\-bgp\_\-bytes}}
\label{classTestPeer_aae863c9735dac1f65ae31927f10db266}

\item 
\hypertarget{classTestPeer_aa0f5bf2def345f8653a38e2e6b390ee7}{
uint8\_\-t {\bfseries \_\-bgp\_\-buf} \mbox{[}BGPPacket::MAXPACKETSIZE\mbox{]}}
\label{classTestPeer_aa0f5bf2def345f8653a38e2e6b390ee7}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTestPeer_ada4780abe3c056e19837ead227b781f7}{
static const int {\bfseries FLYING\_\-LIMIT} = 100}
\label{classTestPeer_ada4780abe3c056e19837ead227b781f7}

\end{DoxyCompactItemize}


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