diff options
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CMessageRecorder.html')
-rw-r--r-- | docs/doxygen/nel/classNLNET_1_1CMessageRecorder.html | 753 |
1 files changed, 753 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CMessageRecorder.html b/docs/doxygen/nel/classNLNET_1_1CMessageRecorder.html new file mode 100644 index 00000000..a2968a9b --- /dev/null +++ b/docs/doxygen/nel/classNLNET_1_1CMessageRecorder.html @@ -0,0 +1,753 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLNET::CMessageRecorder Class Reference</h1>Message recorder. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>></code> +<p> +<a href="classNLNET_1_1CMessageRecorder-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a0">CMessageRecorder</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a1">~CMessageRecorder</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a2">startRecord</a> (const std::string &filename, bool recordall=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Start recording.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a3">recordNext</a> (<a class="el" href="memory__common_8h.html#a12">sint64</a> updatecounter, <a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> event, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> sockid, <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &message)</td></tr> +<tr><td> </td><td><font size=-1><em>Add a record.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a4">stopRecord</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Stop recording.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a5">startReplay</a> (const std::string &filename)</td></tr> +<tr><td> </td><td><font size=-1><em>Start replaying.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a6">replayNextDataAvailable</a> (<a class="el" href="memory__common_8h.html#a12">sint64</a> updatecounter)</td></tr> +<tr><td> </td><td><font size=-1><em>Push the received blocks for this counter into the receive queue.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a7">checkNextOne</a> (<a class="el" href="memory__common_8h.html#a12">sint64</a> updatecounter)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the event type if the counter of the next event is updatecounter, and skip it; otherwise return Error.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a8">replayConnectionAttempt</a> (const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the first stored connection attempt corresponding to addr.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#a9">stopReplay</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Stop playback.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::queue< <a class="el" href="structNLNET_1_1TMessageRecord.html">NLNET::TMessageRecord</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#m0">ReceivedMessages</a></td></tr> +<tr><td> </td><td><font size=-1><em>Receive queue (corresponding to one update count). Use empty(), front(), pop().</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#b0">loadNext</a> (<a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> &record)</td></tr> +<tr><td> </td><td><font size=-1><em>Load the next record from the file (throws EStreamOverflow).</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#b1">getNext</a> (<a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> &record, <a class="el" href="memory__common_8h.html#a12">sint64</a> updatecounter)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the next record (from the preloaded records, or from the file).</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::fstream </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#o0">_File</a></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#o1">_Filename</a></td></tr> +<tr><td nowrap align=right valign=top>std::deque< <a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#o2">_PreloadedRecords</a></td></tr> +<tr><td nowrap align=right valign=top>std::deque< <a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#o3">_ConnectionAttempts</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CMessageRecorder.html#o4">_RecordAll</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Message recorder. +<p> +The service performs sends normally. They are intercepted and the recorder plays the receives back. No communication with other hosts. Warning: it works only with messages as plain text. <dl compact><dt><b> +Author: </b><dd> +Olivier Cado , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00116">116</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLNET::CMessageRecorder::CMessageRecorder"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CMessageRecorder::CMessageRecorder </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00079">79</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00133">nlerror</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLNET::CMessageRecorder::~CMessageRecorder"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CMessageRecorder::~CMessageRecorder </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Destructor. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00090">90</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="message__recorder_8cpp-source.html#l00168">stopRecord</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00404">stopReplay</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a7" doxytag="NLNET::CMessageRecorder::checkNextOne"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> NLNET::CMessageRecorder::checkNextOne </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a12">sint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>updatecounter</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the event type if the counter of the next event is updatecounter, and skip it; otherwise return Error. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00308">308</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8cpp-source.html#l00039">NLNET::EventToString</a>, <a class="el" href="message__recorder_8cpp-source.html#l00230">getNext</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="message__recorder_8h-source.html#l00049">NLNET::TNetworkEvent</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NLNET::CMessageRecorder::getNext"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLNET::CMessageRecorder::getNext </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> & </td> + <td class="mdname" nowrap> <em>record</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a12">sint64</a> </td> + <td class="mdname" nowrap> <em>updatecounter</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the next record (from the preloaded records, or from the file). +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00230">230</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00173">_PreloadedRecords</a>, <a class="el" href="message__recorder_8cpp-source.html#l00198">loadNext</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00308">checkNextOne</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00276">replayNextDataAvailable</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NLNET::CMessageRecorder::loadNext"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLNET::CMessageRecorder::loadNext </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>record</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load the next record from the file (throws EStreamOverflow). +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00198">198</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00230">getNext</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00326">replayConnectionAttempt</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLNET::CMessageRecorder::recordNext"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CMessageRecorder::recordNext </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a12">sint64</a> </td> + <td class="mdname" nowrap> <em>updatecounter</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> </td> + <td class="mdname" nowrap> <em>event</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>sockid</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>message</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a record. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00141">141</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="namespaceNLNET.html#a156a12">NLNET::Sending</a>, <a class="el" href="message__recorder_8h-source.html#l00049">NLNET::TNetworkEvent</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLNET::CMessageRecorder::replayConnectionAttempt"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLNET.html#a156">TNetworkEvent</a> NLNET::CMessageRecorder::replayConnectionAttempt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>addr</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the first stored connection attempt corresponding to addr. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00326">326</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00176">_ConnectionAttempts</a>, <a class="el" href="message__recorder_8h-source.html#l00173">_PreloadedRecords</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="namespaceNLNET.html#a156a14">NLNET::Connecting</a>, <a class="el" href="namespaceNLNET.html#a156a15">NLNET::ConnFailing</a>, <a class="el" href="message__recorder_8cpp-source.html#l00198">loadNext</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="message__recorder_8h-source.html#l00049">NLNET::TNetworkEvent</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLNET::CMessageRecorder::replayNextDataAvailable"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CMessageRecorder::replayNextDataAvailable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a12">sint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>updatecounter</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Push the received blocks for this counter into the receive queue. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00276">276</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00176">_ConnectionAttempts</a>, <a class="el" href="namespaceNLNET.html#a156a16">NLNET::Accepting</a>, <a class="el" href="namespaceNLNET.html#a156a14">NLNET::Connecting</a>, <a class="el" href="namespaceNLNET.html#a156a15">NLNET::ConnFailing</a>, <a class="el" href="namespaceNLNET.html#a156a17">NLNET::Disconnecting</a>, <a class="el" href="message__recorder_8cpp-source.html#l00230">getNext</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="message__recorder_8h-source.html#l00154">ReceivedMessages</a>, <a class="el" href="namespaceNLNET.html#a156a13">NLNET::Receiving</a>, and <a class="el" href="namespaceNLNET.html#a156a12">NLNET::Sending</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLNET::CMessageRecorder::startRecord"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLNET::CMessageRecorder::startRecord </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>filename</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>recordall</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Start recording. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00104">104</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>, <a class="el" href="message__recorder_8h-source.html#l00179">_RecordAll</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLNET::CMessageRecorder::startReplay"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLNET::CMessageRecorder::startReplay </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>filename</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Start replaying. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00178">178</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="debug_8h-source.html#l00133">nlerror</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLNET::CMessageRecorder::stopRecord"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CMessageRecorder::stopRecord </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Stop recording. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00168">168</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, and <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00090">~CMessageRecorder</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLNET::CMessageRecorder::stopReplay"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CMessageRecorder::stopReplay </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Stop playback. +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8cpp-source.html#l00404">404</a> of file <a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a>. +<p> +References <a class="el" href="message__recorder_8h-source.html#l00167">_File</a>, and <a class="el" href="message__recorder_8h-source.html#l00170">_Filename</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00090">~CMessageRecorder</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o3" doxytag="NLNET::CMessageRecorder::_ConnectionAttempts"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::deque<<a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a>> NLNET::CMessageRecorder::_ConnectionAttempts<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00176">176</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00326">replayConnectionAttempt</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00276">replayNextDataAvailable</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLNET::CMessageRecorder::_File"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::fstream NLNET::CMessageRecorder::_File<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00167">167</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00198">loadNext</a>, <a class="el" href="message__recorder_8cpp-source.html#l00141">recordNext</a>, <a class="el" href="message__recorder_8cpp-source.html#l00104">startRecord</a>, <a class="el" href="message__recorder_8cpp-source.html#l00178">startReplay</a>, <a class="el" href="message__recorder_8cpp-source.html#l00168">stopRecord</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00404">stopReplay</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLNET::CMessageRecorder::_Filename"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NLNET::CMessageRecorder::_Filename<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00170">170</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00198">loadNext</a>, <a class="el" href="message__recorder_8cpp-source.html#l00141">recordNext</a>, <a class="el" href="message__recorder_8cpp-source.html#l00104">startRecord</a>, <a class="el" href="message__recorder_8cpp-source.html#l00178">startReplay</a>, <a class="el" href="message__recorder_8cpp-source.html#l00168">stopRecord</a>, <a class="el" href="message__recorder_8cpp-source.html#l00404">stopReplay</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00090">~CMessageRecorder</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLNET::CMessageRecorder::_PreloadedRecords"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::deque<<a class="el" href="structNLNET_1_1TMessageRecord.html">TMessageRecord</a>> NLNET::CMessageRecorder::_PreloadedRecords<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00173">173</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00230">getNext</a>, and <a class="el" href="message__recorder_8cpp-source.html#l00326">replayConnectionAttempt</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NLNET::CMessageRecorder::_RecordAll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLNET::CMessageRecorder::_RecordAll<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00179">179</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00104">startRecord</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NLNET::CMessageRecorder::ReceivedMessages"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::queue<<a class="el" href="structNLNET_1_1TMessageRecord.html">NLNET::TMessageRecord</a>> NLNET::CMessageRecorder::ReceivedMessages + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Receive queue (corresponding to one update count). Use empty(), front(), pop(). +<p> + +<p> +Definition at line <a class="el" href="message__recorder_8h-source.html#l00154">154</a> of file <a class="el" href="message__recorder_8h-source.html">message_recorder.h</a>. +<p> +Referenced by <a class="el" href="message__recorder_8cpp-source.html#l00276">replayNextDataAvailable</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="message__recorder_8h-source.html">message_recorder.h</a><li><a class="el" href="message__recorder_8cpp-source.html">message_recorder.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |