aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__socket__recv__from_8h_source.html
blob: f5574122ee2c4c167b6929eb7554251e00ae5a6c (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_socket_recv_from.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<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 class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 <span class="preprocessor">#ifndef OSCL_SOCKET_RECV_FROM_H_INCLUDED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_RECV_FROM_H_INCLUDED</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__serv__imp_8h.html">oscl_socket_serv_imp.h</a>&quot;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>&quot;</span>
<a name="l00008"></a>00008 
<a name="l00012"></a>00012 <span class="keyword">class </span><a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a>;
<a name="l00013"></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>
<a name="l00015"></a>00015 {
<a name="l00016"></a>00016     <span class="keyword">public</span>:
<a name="l00017"></a>00017         <span class="keyword">static</span> <a class="code" href="classOsclRecvFromMethod.html">OsclRecvFromMethod</a> *<a class="code" href="classOsclRecvFromMethod.html#a9f7afee8416c5ad79b4d8ea8460696c4">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>&amp; c);
<a name="l00018"></a>00018 
<a name="l00019"></a>00019         <a class="code" href="classOsclRecvFromMethod.html#a794c459d620338b14a8b4684ca72b29a">~OsclRecvFromMethod</a>();
<a name="l00020"></a>00020 
<a name="l00021"></a>00021         <a class="code" href="oscl__socket__types_8h.html#a4997c79c51d21741526e9c3890d2ddff">TPVSocketEvent</a> <a class="code" href="classOsclRecvFromMethod.html#a5f7bbfb94014bea42afaf927a7ce445b">RecvFrom</a>(uint8* &amp;aPtr, uint32 aMaxLen,
<a name="l00022"></a>00022                                 <a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a> &amp;aAddress,
<a name="l00023"></a>00023                                 int32 aTimeout,
<a name="l00024"></a>00024                                 uint32 aMultiMax,
<a name="l00025"></a>00025                                 <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;uint32, OsclMemAllocator&gt;</a>* aPacketLen,
<a name="l00026"></a>00026                                 <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclNetworkAddress, OsclMemAllocator&gt;</a>* aPacketSource);
<a name="l00027"></a>00027 
<a name="l00028"></a>00028         uint8 *<a class="code" href="classOsclRecvFromMethod.html#a6c98be770d7ab9c0263440ce64e04255">GetRecvData</a>(int32 *aLength);
<a name="l00029"></a>00029 
<a name="l00030"></a>00030     <span class="keyword">private</span>:
<a name="l00031"></a>00031         <a class="code" href="classOsclRecvFromMethod.html">OsclRecvFromMethod</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>&amp; c)
<a name="l00032"></a>00032                 : <a class="code" href="classOsclSocketMethod.html#a19f20445765331b9f7b031cd713e0747">OsclSocketMethod</a>(c, <span class="stringliteral">&quot;osclrecvfrommethod&quot;</span>, <a class="code" href="oscl__socket__types_8h.html#ad56e935eb39e12b55e094f08167175daa3da25321ed065cd368b2f236f20d8320">EPVSocketRecvFrom</a>)
<a name="l00033"></a>00033         {}
<a name="l00034"></a>00034 
<a name="l00035"></a>00035         <span class="keywordtype">void</span> ConstructL();
<a name="l00036"></a>00036 
<a name="l00037"></a>00037     <span class="keyword">public</span>:
<a name="l00038"></a><a class="code" href="classOsclRecvFromMethod.html#a984b4350a02a364746899f4e64aac21e">00038</a>         <a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a> *<a class="code" href="classOsclRecvFromMethod.html#a984b4350a02a364746899f4e64aac21e">RecvFromRequest</a>()
<a name="l00039"></a>00039         {
<a name="l00040"></a>00040             <span class="keywordflow">return</span> (<a class="code" href="classOsclRecvFromRequest.html">OsclRecvFromRequest</a>*)<a class="code" href="classOsclSocketMethod.html#ac7bcd2eeb6bb65be54f9b81b6910adc2">iSocketRequestAO</a>;
<a name="l00041"></a>00041         }
<a name="l00042"></a>00042 };
<a name="l00043"></a>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>
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049     <span class="keyword">public</span>:
<a name="l00050"></a>00050         uint8 *<a class="code" href="classOsclRecvFromRequest.html#a969db91066bf30575d911bf6ee0f3afe">GetRecvData</a>(int32 *aLength);
<a name="l00051"></a>00051 
<a name="l00052"></a><a class="code" href="classOsclRecvFromRequest.html#a1550045b2e1fad3f06583d8295c0442e">00052</a>         <a class="code" href="classOsclRecvFromRequest.html#a1550045b2e1fad3f06583d8295c0442e">OsclRecvFromRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>&amp; c)
<a name="l00053"></a>00053                 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, <span class="stringliteral">&quot;osclRecvFromRequest&quot;</span>)
<a name="l00054"></a>00054         {}
<a name="l00055"></a>00055 
<a name="l00056"></a>00056         <span class="keywordtype">void</span> <a class="code" href="classOsclRecvFromRequest.html#a3a88cd8eef4ffbee1c290269be91dd97">RecvFrom</a>(uint8* &amp;aPtr, uint32 aMaxLen,
<a name="l00057"></a>00057                       <a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a>&amp; aAddress, uint32 aMultiMax,
<a name="l00058"></a>00058                       <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;uint32, OsclMemAllocator&gt;</a>* aPacketLen,
<a name="l00059"></a>00059                       <a class="code" href="classOscl__Vector.html">Oscl_Vector&lt;OsclNetworkAddress, OsclMemAllocator&gt;</a>* aPacketSource);
<a name="l00060"></a>00060         <span class="keywordtype">void</span> <a class="code" href="classOsclRecvFromRequest.html#abe58487853fb043f4e67edb696b26b95">Success</a>();
<a name="l00061"></a>00061 
<a name="l00062"></a>00062     <span class="keyword">private</span>:
<a name="l00063"></a>00063         <a class="code" href="classRecvFromParam.html">RecvFromParam</a>*Param()
<a name="l00064"></a>00064         {
<a name="l00065"></a>00065             <span class="keywordflow">return</span>(<a class="code" href="classRecvFromParam.html">RecvFromParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#a5c3cba8bca77dae432b8aa4efd968fc3">iParam</a>;
<a name="l00066"></a>00066         }
<a name="l00067"></a>00067 };
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="preprocessor">#endif</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.004.1.1 </small>
</small></address>
</body>
</html>