aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__socket__connect_8h_source.html
blob: bccc73098db470d43eb68aa873b8a1ab0e4cc9f2 (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
<!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_connect.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_connect.h</h1><a href="oscl__socket__connect_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_CONNECT_H_INCLUDED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_CONNECT_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__serv__imp_8h.html">oscl_socket_serv_imp.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__imp_8h.html">oscl_socket_imp.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>&quot;</span>
<a name="l00009"></a>00009 
<a name="l00013"></a>00013 <span class="keyword">class </span><a class="code" href="classOsclConnectRequest.html">OsclConnectRequest</a>;
<a name="l00014"></a>00014 
<a name="l00015"></a><a class="code" href="classOsclConnectMethod.html">00015</a> <span class="keyword">class </span><a class="code" href="classOsclConnectMethod.html">OsclConnectMethod</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>
<a name="l00016"></a>00016 {
<a name="l00017"></a>00017     <span class="keyword">public</span>:
<a name="l00018"></a>00018         <span class="keyword">static</span> <a class="code" href="classOsclConnectMethod.html">OsclConnectMethod</a> *<a class="code" href="classOsclConnectMethod.html#ad43fa8346d13da0e110b31e73b618578">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>&amp; c);
<a name="l00019"></a>00019 
<a name="l00020"></a>00020         <a class="code" href="classOsclConnectMethod.html#a4792c369b649bc2e89a0ab7d2f9601e2">~OsclConnectMethod</a>();
<a name="l00021"></a>00021 
<a name="l00022"></a>00022         <a class="code" href="oscl__socket__types_8h.html#a4997c79c51d21741526e9c3890d2ddff">TPVSocketEvent</a> <a class="code" href="classOsclConnectMethod.html#a2e8b6c4092c7de6f286cd64522128ac5">Connect</a>(<a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a>&amp; aAddress,
<a name="l00023"></a>00023                                int32 aTimeout);
<a name="l00024"></a>00024 
<a name="l00025"></a>00025     <span class="keyword">private</span>:
<a name="l00026"></a>00026         <a class="code" href="classOsclConnectMethod.html">OsclConnectMethod</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;osclconnectmethod&quot;</span>, <a class="code" href="oscl__socket__types_8h.html#ad56e935eb39e12b55e094f08167175daa20a44130029d880e399296dc64b47d34">EPVSocketConnect</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="classOsclConnectMethod.html#ae0425a399814144700ee4ac57e5a65b5">00033</a>         <a class="code" href="classOsclConnectRequest.html">OsclConnectRequest</a> *<a class="code" href="classOsclConnectMethod.html#ae0425a399814144700ee4ac57e5a65b5">ConnectRequest</a>()
<a name="l00034"></a>00034         {
<a name="l00035"></a>00035             <span class="keywordflow">return</span> (<a class="code" href="classOsclConnectRequest.html">OsclConnectRequest</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><a class="code" href="classOsclConnectRequest.html">00042</a> <span class="keyword">class </span><a class="code" href="classOsclConnectRequest.html">OsclConnectRequest</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>
<a name="l00043"></a>00043 {
<a name="l00044"></a>00044     <span class="keyword">public</span>:
<a name="l00045"></a><a class="code" href="classOsclConnectRequest.html#a73cc81d61199a3b1c9bb9c8c09d48ec6">00045</a>         <a class="code" href="classOsclConnectRequest.html#a73cc81d61199a3b1c9bb9c8c09d48ec6">OsclConnectRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>&amp; c)
<a name="l00046"></a>00046                 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, <span class="stringliteral">&quot;osclConnectRequest&quot;</span>)
<a name="l00047"></a>00047         {}
<a name="l00048"></a>00048 
<a name="l00049"></a>00049         <span class="keywordtype">void</span> <a class="code" href="classOsclConnectRequest.html#ac39302e2699cce57533946dfab4d05d6">Connect</a>(<a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a> &amp;aAddress);
<a name="l00050"></a>00050 
<a name="l00051"></a>00051     <span class="keyword">private</span>:
<a name="l00052"></a>00052 
<a name="l00053"></a>00053         <a class="code" href="classConnectParam.html">ConnectParam</a>*Param()
<a name="l00054"></a>00054         {
<a name="l00055"></a>00055             <span class="keywordflow">return</span>(<a class="code" href="classConnectParam.html">ConnectParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#a5c3cba8bca77dae432b8aa4efd968fc3">iParam</a>;
<a name="l00056"></a>00056         }
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 
</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.005.1.1 </small>
</small></address>
</body>
</html>