aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__socket__send_8h_source.html
blob: 0af1fa4ff2f18155bf4f1030e1a689e3424e184b (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
<!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_send.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_send.h</h1><a href="oscl__socket__send_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_SEND_H_INCLUDED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_SEND_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__types_8h.html">oscl_socket_types.h</a>&quot;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>&quot;</span>
<a name="l00007"></a>00007 
<a name="l00011"></a>00011 <span class="keyword">class </span><a class="code" href="classOsclSendRequest.html">OsclSendRequest</a>;
<a name="l00012"></a>00012 
<a name="l00013"></a><a class="code" href="classOsclSendMethod.html">00013</a> <span class="keyword">class </span><a class="code" href="classOsclSendMethod.html">OsclSendMethod</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>
<a name="l00014"></a>00014 {
<a name="l00015"></a>00015     <span class="keyword">public</span>:
<a name="l00016"></a>00016         <span class="keyword">static</span> <a class="code" href="classOsclSendMethod.html">OsclSendMethod</a> *<a class="code" href="classOsclSendMethod.html#a4bb0adc6f3f9aa17bb485b4307bbe24d">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>&amp; c);
<a name="l00017"></a>00017 
<a name="l00018"></a>00018         <a class="code" href="classOsclSendMethod.html#aeecdc04c93203733db824117815142a2">~OsclSendMethod</a>();
<a name="l00019"></a>00019 
<a name="l00020"></a>00020         <a class="code" href="oscl__socket__types_8h.html#a4997c79c51d21741526e9c3890d2ddff">TPVSocketEvent</a> <a class="code" href="classOsclSendMethod.html#a9f2624444526d1c6ea4662240f3475df">Send</a>(<span class="keyword">const</span> uint8* &amp;aPtr, uint32 aLen,
<a name="l00021"></a>00021                             int32 aTimeout);
<a name="l00022"></a>00022 
<a name="l00023"></a>00023         uint8 *<a class="code" href="classOsclSendMethod.html#aa9548dacf3a7b09d7dcf2e52acfc7745">GetSendData</a>(int32 *aLength);
<a name="l00024"></a>00024 
<a name="l00025"></a>00025     <span class="keyword">private</span>:
<a name="l00026"></a>00026         <a class="code" href="classOsclSendMethod.html">OsclSendMethod</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>&amp; c)
<a name="l00027"></a>00027                 : <a class="code" href="classOsclSocketMethod.html#a19f20445765331b9f7b031cd713e0747">OsclSocketMethod</a>(c, <span class="stringliteral">&quot;osclsendmethod&quot;</span>, <a class="code" href="oscl__socket__types_8h.html#ad56e935eb39e12b55e094f08167175daaca50573e213cb5e1c35c548a81cacf28">EPVSocketSend</a>)
<a name="l00028"></a>00028         {};
<a name="l00029"></a>00029 
<a name="l00030"></a>00030         <span class="keywordtype">void</span> ConstructL();
<a name="l00031"></a>00031 
<a name="l00032"></a>00032     <span class="keyword">public</span>:
<a name="l00033"></a><a class="code" href="classOsclSendMethod.html#ac91d8eea8e0f5b0bd771b79fa0bd68ed">00033</a>         <a class="code" href="classOsclSendRequest.html">OsclSendRequest</a> *<a class="code" href="classOsclSendMethod.html#ac91d8eea8e0f5b0bd771b79fa0bd68ed">SendRequest</a>()
<a name="l00034"></a>00034         {
<a name="l00035"></a>00035             <span class="keywordflow">return</span> (<a class="code" href="classOsclSendRequest.html">OsclSendRequest</a>*)<a class="code" href="classOsclSocketMethod.html#ac7bcd2eeb6bb65be54f9b81b6910adc2">iSocketRequestAO</a>;
<a name="l00036"></a>00036         }
<a name="l00037"></a>00037 };
<a name="l00038"></a>00038 
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classSendParam.html">SendParam</a>;
<a name="l00043"></a><a class="code" href="classOsclSendRequest.html">00043</a> <span class="keyword">class </span><a class="code" href="classOsclSendRequest.html">OsclSendRequest</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045     <span class="keyword">public</span>:
<a name="l00046"></a><a class="code" href="classOsclSendRequest.html#a85f6fe4fc588dbec6f45129784a6db93">00046</a>         <a class="code" href="classOsclSendRequest.html#a85f6fe4fc588dbec6f45129784a6db93">OsclSendRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>&amp; c)
<a name="l00047"></a>00047                 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, <span class="stringliteral">&quot;osclSendRequest&quot;</span>)
<a name="l00048"></a>00048         {}
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 
<a name="l00051"></a>00051         <span class="keywordtype">void</span> <a class="code" href="classOsclSendRequest.html#ad4af67a57c683ad5c08a1f4818edbef9">Send</a>(<span class="keyword">const</span> uint8* &amp;aPtr, uint32 aLen);
<a name="l00052"></a>00052         <span class="keywordtype">void</span> <a class="code" href="classOsclSendRequest.html#a8e4e9e2c1476da0c75057e893592345e">Success</a>();
<a name="l00053"></a>00053         uint8 *<a class="code" href="classOsclSendRequest.html#a98a2eefc68866822721d7bc6cd4e3c55">GetSendData</a>(int32 *aLength);
<a name="l00054"></a>00054 
<a name="l00055"></a>00055     <span class="keyword">private</span>:
<a name="l00056"></a>00056 
<a name="l00057"></a>00057         <a class="code" href="classSendParam.html">SendParam</a>*Param()
<a name="l00058"></a>00058         {
<a name="l00059"></a>00059             <span class="keywordflow">return</span>(<a class="code" href="classSendParam.html">SendParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#a5c3cba8bca77dae432b8aa4efd968fc3">iParam</a>;
<a name="l00060"></a>00060         }
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 };
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
<a name="l00068"></a>00068 <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>