1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_socket_recv.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<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> 9<hr><h1>oscl_socket_recv.h</h1><a href="oscl__socket__recv_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 1000002 <span class="preprocessor">#ifndef OSCL_SOCKET_RECV_H_INCLUDED</span> 1100003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_RECV_H_INCLUDED</span> 1200004 <span class="preprocessor"></span> 1300005 <span class="preprocessor">#include "<a class="code" href="oscl__socket__serv__imp_8h.html">oscl_socket_serv_imp.h</a>"</span> 1400006 <span class="preprocessor">#include "<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.h</a>"</span> 1500007 <span class="preprocessor">#include "<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>"</span> 1600008 1700009 1800013 <span class="keyword">class </span><a class="code" href="classOsclRecvRequest.html">OsclRecvRequest</a>; 1900014 20<a name="l00015"></a><a class="code" href="classOsclRecvMethod.html">00015</a> <span class="keyword">class </span><a class="code" href="classOsclRecvMethod.html">OsclRecvMethod</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a> 2100016 { 2200017 <span class="keyword">public</span>: 2300018 <span class="keyword">static</span> <a class="code" href="classOsclRecvMethod.html">OsclRecvMethod</a> *<a class="code" href="classOsclRecvMethod.html#d0">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>& c); 2400019 2500020 <a class="code" href="classOsclRecvMethod.html#a0">~OsclRecvMethod</a>(); 2600021 2700022 <a class="code" href="oscl__socket__types_8h.html#a20">TPVSocketEvent</a> <a class="code" href="classOsclRecvMethod.html#a1">Recv</a>(uint8* &aPtr, uint32 aMaxLen, 2800023 int32 aTimeout); 2900024 3000025 uint8 *<a class="code" href="classOsclRecvMethod.html#a2">GetRecvData</a>(int32 *aLength); 3100026 3200027 <span class="keyword">private</span>: 3300028 <a class="code" href="classOsclRecvMethod.html">OsclRecvMethod</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>& c) 3400029 : <a class="code" href="classOsclSocketMethod.html#a0">OsclSocketMethod</a>(c, <span class="stringliteral">"osclrecvmethod"</span>, <a class="code" href="oscl__socket__types_8h.html#a19a3">EPVSocketRecv</a>) 3500030 {} 3600031 3700032 <span class="keywordtype">void</span> <a class="code" href="classOsclSocketMethod.html#b0">ConstructL</a>(); 3800033 3900034 <span class="keyword">public</span>: 40<a name="l00035"></a><a class="code" href="classOsclRecvMethod.html#a3">00035</a> <a class="code" href="classOsclRecvRequest.html">OsclRecvRequest</a> *<a class="code" href="classOsclRecvMethod.html#a3">RecvRequest</a>() 4100036 { 4200037 <span class="keywordflow">return</span> (<a class="code" href="classOsclRecvRequest.html">OsclRecvRequest</a>*)<a class="code" href="classOsclSocketMethod.html#n0">iSocketRequestAO</a>; 4300038 } 4400039 }; 4500040 46<a name="l00044"></a><a class="code" href="classOsclRecvRequest.html">00044</a> <span class="keyword">class </span><a class="code" href="classOsclRecvRequest.html">OsclRecvRequest</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a> 4700045 { 4800046 <span class="keyword">public</span>: 4900047 uint8 *<a class="code" href="classOsclRecvRequest.html#a0">GetRecvData</a>(int32 *aLength); 5000048 51<a name="l00049"></a><a class="code" href="classOsclRecvRequest.html#a1">00049</a> <a class="code" href="classOsclRecvRequest.html#a1">OsclRecvRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>& c) 5200050 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, "osclRecvRequest") 5300051 {} 5400052 5500053 <span class="keywordtype">void</span> <a class="code" href="classOsclRecvRequest.html#a2">Recv</a>(uint8* &aPtr, uint32 aMaxLen); 5600054 <span class="keywordtype">void</span> <a class="code" href="classOsclRecvRequest.html#a3">Success</a>(); 5700055 5800056 <span class="keyword">private</span>: 5900057 6000058 <a class="code" href="classRecvParam.html">RecvParam</a>*Param() 6100059 { 6200060 <span class="keywordflow">return</span>(<a class="code" href="classRecvParam.html">RecvParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#n2">iParam</a>; 6300061 } 6400062 6500063 }; 6600064 6700065 6800066 6900067 <span class="preprocessor">#endif</span> 7000068 <span class="preprocessor"></span> 71</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 72<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 73</small></address> 74</body> 75</html> 76