| <!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>oscl_socket_recv_from.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.2.18 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <hr><h1>oscl_socket_recv_from.h</h1><a href="oscl__socket__recv__from_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 |
| 00002 <span class="preprocessor">#ifndef OSCL_SOCKET_RECV_FROM_H_INCLUDED</span> |
| 00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_RECV_FROM_H_INCLUDED</span> |
| 00004 <span class="preprocessor"></span> |
| 00005 <span class="preprocessor">#include "<a class="code" href="oscl__socket__serv__imp_8h.html">oscl_socket_serv_imp.h</a>"</span> |
| 00006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.h</a>"</span> |
| 00007 <span class="preprocessor">#include "<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>"</span> |
| 00008 |
| 00012 <span class="keyword">class </span><a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a>; |
| 00013 |
| <a name="l00014"></a><a class="code" href="classOsclRecvFromMethod.html">00014</a> <span class="keyword">class </span><a class="code" href="classOsclRecvFromMethod.html">OsclRecvFromMethod</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a> |
| 00015 { |
| 00016 <span class="keyword">public</span>: |
| 00017 <span class="keyword">static</span> <a class="code" href="classOsclRecvFromMethod.html">OsclRecvFromMethod</a> *<a class="code" href="classOsclRecvFromMethod.html#d0">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>& c); |
| 00018 |
| 00019 <a class="code" href="classOsclRecvFromMethod.html#a0">~OsclRecvFromMethod</a>(); |
| 00020 |
| 00021 <a class="code" href="oscl__socket__types_8h.html#a20">TPVSocketEvent</a> <a class="code" href="classOsclRecvFromMethod.html#a1">RecvFrom</a>(uint8* &aPtr, uint32 aMaxLen, |
| 00022 <a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a> &aAddress, |
| 00023 int32 aTimeout, |
| 00024 uint32 aMultiMax, |
| 00025 <a class="code" href="classOscl__Vector.html">Oscl_Vector<uint32, OsclMemAllocator></a>* aPacketLen, |
| 00026 <a class="code" href="classOscl__Vector.html">Oscl_Vector<OsclNetworkAddress, OsclMemAllocator></a>* aPacketSource); |
| 00027 |
| 00028 uint8 *<a class="code" href="classOsclRecvFromMethod.html#a2">GetRecvData</a>(int32 *aLength); |
| 00029 |
| 00030 <span class="keyword">private</span>: |
| 00031 <a class="code" href="classOsclRecvFromMethod.html">OsclRecvFromMethod</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>& c) |
| 00032 : <a class="code" href="classOsclSocketMethod.html#a0">OsclSocketMethod</a>(c, <span class="stringliteral">"osclrecvfrommethod"</span>, <a class="code" href="oscl__socket__types_8h.html#a19a4">EPVSocketRecvFrom</a>) |
| 00033 {} |
| 00034 |
| 00035 <span class="keywordtype">void</span> <a class="code" href="classOsclSocketMethod.html#b0">ConstructL</a>(); |
| 00036 |
| 00037 <span class="keyword">public</span>: |
| <a name="l00038"></a><a class="code" href="classOsclRecvFromMethod.html#a3">00038</a> <a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a> *<a class="code" href="classOsclRecvFromMethod.html#a3">RecvFromRequest</a>() |
| 00039 { |
| 00040 <span class="keywordflow">return</span> (<a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a>*)<a class="code" href="classOsclSocketMethod.html#n0">iSocketRequestAO</a>; |
| 00041 } |
| 00042 }; |
| 00043 |
| <a name="l00047"></a><a class="code" href="classOsclRecvFromRequest.html">00047</a> <span class="keyword">class </span><a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a> |
| 00048 { |
| 00049 <span class="keyword">public</span>: |
| 00050 uint8 *<a class="code" href="classOsclRecvFromRequest.html#a0">GetRecvData</a>(int32 *aLength); |
| 00051 |
| <a name="l00052"></a><a class="code" href="classOsclRecvFromRequest.html#a1">00052</a> <a class="code" href="classOsclRecvFromRequest.html#a1">OsclRecvFromRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>& c) |
| 00053 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, "osclRecvFromRequest") |
| 00054 {} |
| 00055 |
| 00056 <span class="keywordtype">void</span> <a class="code" href="classOsclRecvFromRequest.html#a2">RecvFrom</a>(uint8* &aPtr, uint32 aMaxLen, |
| 00057 <a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a>& aAddress, uint32 aMultiMax, |
| 00058 <a class="code" href="classOscl__Vector.html">Oscl_Vector<uint32, OsclMemAllocator></a>* aPacketLen, |
| 00059 <a class="code" href="classOscl__Vector.html">Oscl_Vector<OsclNetworkAddress, OsclMemAllocator></a>* aPacketSource); |
| 00060 <span class="keywordtype">void</span> <a class="code" href="classOsclRecvFromRequest.html#a3">Success</a>(); |
| 00061 |
| 00062 <span class="keyword">private</span>: |
| 00063 <a class="code" href="classRecvFromParam.html">RecvFromParam</a>*Param() |
| 00064 { |
| 00065 <span class="keywordflow">return</span>(<a class="code" href="classRecvFromParam.html">RecvFromParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#n2">iParam</a>; |
| 00066 } |
| 00067 }; |
| 00068 |
| 00069 |
| 00070 <span class="preprocessor">#endif</span> |
| 00071 <span class="preprocessor"></span> |
| </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> |
| </small></address> |
| </body> |
| </html> |