1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QuickFIX: FIX::SocketException Struct Reference</title>
<link href="quickfix.css" rel="stylesheet" type="text/css">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<img src="images/QuickFIX.jpg" align="middle" border=0>
<a href="index.html">Index</a>
<a href="files.html">Source Files</a>
<a href="annotated.html">Annotated Class List</a>
<a href="classes.html">Alphabetical Class List</a>
<a href="hierarchy.html">Class Hierarchy</a>
<a href="inherits.html">Graphical Class Hierarchy</a>
</td>
</tr>
</table>
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.6.1 -->
<div class="navpath"><a class="el" href="namespace_f_i_x.html">FIX</a>::<a class="el" href="struct_f_i_x_1_1_socket_exception.html">SocketException</a>
</div>
<div class="contents">
<h1>FIX::SocketException Struct Reference</h1><!-- doxytag: class="FIX::SocketException" --><!-- doxytag: inherits="FIX::Exception" -->
<p>Socket Error.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for FIX::SocketException:</div>
<div class="dynsection">
<div class="center"><img src="struct_f_i_x_1_1_socket_exception__inherit__graph.png" border="0" usemap="#_f_i_x_1_1_socket_exception_inherit__map" alt="Inheritance graph"/></div>
<map name="_f_i_x_1_1_socket_exception_inherit__map" id="_f_i_x_1_1_socket_exception_inherit__map">
<area shape="rect" href="struct_f_i_x_1_1_socket_close_failed.html" title="Socket close operation failed." alt="" coords="5,160,165,189"/><area shape="rect" href="struct_f_i_x_1_1_socket_recv_failed.html" title="Socket recv operation failed." alt="" coords="189,160,344,189"/><area shape="rect" href="struct_f_i_x_1_1_socket_send_failed.html" title="Socket send operation failed." alt="" coords="368,160,523,189"/><area shape="rect" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type." alt="" coords="213,5,320,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for FIX::SocketException:</div>
<div class="dynsection">
<div class="center"><img src="struct_f_i_x_1_1_socket_exception__coll__graph.png" border="0" usemap="#_f_i_x_1_1_socket_exception_coll__map" alt="Collaboration graph"/></div>
<map name="_f_i_x_1_1_socket_exception_coll__map" id="_f_i_x_1_1_socket_exception_coll__map">
<area shape="rect" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type." alt="" coords="27,5,133,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="struct_f_i_x_1_1_socket_exception-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_i_x_1_1_socket_exception.html#aac5d17d837b88abf84607e2606f5b74c">SocketException</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_i_x_1_1_socket_exception.html#a96badf75e947ac0fb93eb408e74cc9a9">SocketException</a> (const std::string &what)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">errorToWhat</a> ()</td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Socket Error. </p>
<p>Definition at line <a class="el" href="_exceptions_8h_source.html#l00245">245</a> of file <a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="aac5d17d837b88abf84607e2606f5b74c"></a><!-- doxytag: member="FIX::SocketException::SocketException" ref="aac5d17d837b88abf84607e2606f5b74c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FIX::SocketException::SocketException </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_exceptions_8h_source.html#l00247">247</a> of file <a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>.</p>
<p><div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 : <a class="code" href="struct_f_i_x_1_1_exception.html#a9f434ffbe7683c8271b76a87ded6c345">Exception</a>( <span class="stringliteral">"Socket Error"</span>, <a class="code" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">errorToWhat</a>() ) {}
</pre></div></p>
</div>
</div>
<a class="anchor" id="a96badf75e947ac0fb93eb408e74cc9a9"></a><!-- doxytag: member="FIX::SocketException::SocketException" ref="a96badf75e947ac0fb93eb408e74cc9a9" args="(const std::string &what)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FIX::SocketException::SocketException </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>what</em></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_exceptions_8h_source.html#l00250">250</a> of file <a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>.</p>
<p><div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 : <a class="code" href="struct_f_i_x_1_1_exception.html#a9f434ffbe7683c8271b76a87ded6c345">Exception</a>( <span class="stringliteral">"Socket Error"</span>, what ) {}
</pre></div></p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afa1195dd84b8164f34c1b837feacb22c"></a><!-- doxytag: member="FIX::SocketException::errorToWhat" ref="afa1195dd84b8164f34c1b837feacb22c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string FIX::SocketException::errorToWhat </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_exceptions_8h_source.html#l00253">253</a> of file <a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>.</p>
<p>References <a class="el" href="_exceptions_8h_source.html#l00268">error</a>.</p>
<p><div class="fragment"><pre class="fragment"><a name="l00254"></a>00254 {
<a name="l00255"></a>00255 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00256"></a>00256 <span class="preprocessor"></span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> = WSAGetLastError();
<a name="l00257"></a>00257 <span class="keywordtype">char</span> buffer[2048];
<a name="l00258"></a>00258 FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a>,
<a name="l00259"></a>00259 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
<a name="l00260"></a>00260 buffer, 2048, NULL );
<a name="l00261"></a>00261 <span class="keywordflow">return</span> buffer;
<a name="l00262"></a>00262 <span class="preprocessor">#else</span>
<a name="l00263"></a>00263 <span class="preprocessor"></span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> = errno;
<a name="l00264"></a>00264 <span class="keywordflow">return</span> strerror( <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> );
<a name="l00265"></a>00265 <span class="preprocessor">#endif</span>
<a name="l00266"></a>00266 <span class="preprocessor"></span> }
</pre></div></p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a82aacd51bb70f840c380901b88fa5667"></a><!-- doxytag: member="FIX::SocketException::error" ref="a82aacd51bb70f840c380901b88fa5667" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">FIX::SocketException::error</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_exceptions_8h_source.html#l00268">268</a> of file <a class="el" href="_exceptions_8h_source.html">Exceptions.h</a>.</p>
<p>Referenced by <a class="el" href="_exceptions_8h_source.html#l00253">errorToWhat()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/omiller/Development/autobuild/quickfix/src/C++/<a class="el" href="_exceptions_8h_source.html">Exceptions.h</a></li>
</ul>
</div>
<hr><address><small>
Generated on Mon Apr 5 21:00:02 2010 for QuickFIX by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53>
</a> 1.6.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|