| <!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_accept.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_accept.h</h1><a href="oscl__socket__accept_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 |
| 00002 <span class="preprocessor">#ifndef OSCL_SOCKET_ACCEPT_H_INCLUDED</span> |
| 00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_SOCKET_ACCEPT_H_INCLUDED</span> |
| 00004 <span class="preprocessor"></span> |
| 00005 |
| 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__serv__imp_8h.html">oscl_socket_serv_imp.h</a>"</span> |
| 00008 <span class="preprocessor">#include "<a class="code" href="oscl__socket__method_8h.html">oscl_socket_method.h</a>"</span> |
| 00009 |
| 00013 <span class="keyword">class </span><a class="code" href="classOsclAcceptRequest.html">OsclAcceptRequest</a>; |
| 00014 |
| <a name="l00015"></a><a class="code" href="classOsclAcceptMethod.html">00015</a> <span class="keyword">class </span><a class="code" href="classOsclAcceptMethod.html">OsclAcceptMethod</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a> |
| 00016 { |
| 00017 <span class="keyword">public</span>: |
| 00018 <span class="keyword">static</span> <a class="code" href="classOsclAcceptMethod.html">OsclAcceptMethod</a> *<a class="code" href="classOsclAcceptMethod.html#d0">NewL</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>& c); |
| 00019 |
| 00020 <a class="code" href="classOsclAcceptMethod.html#a0">~OsclAcceptMethod</a>(); |
| 00021 |
| 00022 <a class="code" href="oscl__socket__types_8h.html#a20">TPVSocketEvent</a> <a class="code" href="classOsclAcceptMethod.html#a1">Accept</a>(int32 aTimeout); |
| 00023 |
| 00024 <span class="keywordtype">void</span> <a class="code" href="classOsclAcceptMethod.html#a2">DiscardAcceptedSocket</a>(); |
| 00025 <a class="code" href="classOsclSocketI.html">OsclSocketI</a> *<a class="code" href="classOsclAcceptMethod.html#a3">GetAcceptedSocket</a>(); |
| 00026 |
| 00027 <span class="keyword">private</span>: |
| 00028 |
| 00029 <a class="code" href="classOsclAcceptMethod.html">OsclAcceptMethod</a>(<a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a> &c) |
| 00030 : <a class="code" href="classOsclSocketMethod.html#a0">OsclSocketMethod</a>(c, <span class="stringliteral">"osclacceptmethod"</span>, <a class="code" href="oscl__socket__types_8h.html#a19a6">EPVSocketAccept</a>) |
| 00031 , iAcceptedSocket(<a class="code" href="group__osclbase.html#a81">NULL</a>) |
| 00032 {} |
| 00033 |
| 00034 <span class="keywordtype">void</span> <a class="code" href="classOsclSocketMethod.html#b0">ConstructL</a>(); |
| 00035 |
| 00036 <span class="keywordtype">void</span> <a class="code" href="classOsclSocketMethod.html#b3">Run</a>(); |
| 00037 |
| 00038 <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a> *SocketServ() |
| 00039 { |
| 00040 <span class="keywordflow">return</span> <a class="code" href="classOsclSocketMethod.html#m0">iContainer</a>.<a class="code" href="classOsclIPSocketI.html#a7">SocketServ</a>(); |
| 00041 } |
| 00042 <span class="keyword">public</span>: |
| <a name="l00043"></a><a class="code" href="classOsclAcceptMethod.html#a4">00043</a> <a class="code" href="classOsclAcceptRequest.html">OsclAcceptRequest</a> *<a class="code" href="classOsclAcceptMethod.html#a4">AcceptRequest</a>() |
| 00044 { |
| 00045 <span class="keywordflow">return</span> (<a class="code" href="classOsclAcceptRequest.html">OsclAcceptRequest</a>*)<a class="code" href="classOsclSocketMethod.html#n0">iSocketRequestAO</a>; |
| 00046 } |
| 00047 <span class="keyword">private</span>: |
| 00048 <a class="code" href="classOsclSocketI.html">OsclSocketI</a> *iAcceptedSocket; |
| 00049 }; |
| 00050 |
| 00054 <span class="keyword">class </span><a class="code" href="classAcceptParam.html">AcceptParam</a>; |
| 00055 |
| <a name="l00056"></a><a class="code" href="classOsclAcceptRequest.html">00056</a> <span class="keyword">class </span><a class="code" href="classOsclAcceptRequest.html">OsclAcceptRequest</a> : <span class="keyword">public</span> <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a> |
| 00057 { |
| 00058 <span class="keyword">public</span>: |
| <a name="l00059"></a><a class="code" href="classOsclAcceptRequest.html#a0">00059</a> <a class="code" href="classOsclAcceptRequest.html#a0">OsclAcceptRequest</a>(<a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>& c) |
| 00060 : <a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>(c, "osclacceptreq") |
| 00061 {} |
| 00062 |
| 00063 <span class="keywordtype">void</span> <a class="code" href="classOsclAcceptRequest.html#a1">Accept</a>(<a class="code" href="classOsclSocketI.html">OsclSocketI</a> &aSocket); |
| 00064 |
| 00065 <span class="keyword">private</span>: |
| 00066 <span class="keywordtype">void</span> <a class="code" href="classOsclSocketRequestAO.html#b8">Run</a>(); |
| 00067 |
| 00068 <a class="code" href="classAcceptParam.html">AcceptParam</a>*Param() |
| 00069 { |
| 00070 <span class="keywordflow">return</span>(<a class="code" href="classAcceptParam.html">AcceptParam</a>*)<a class="code" href="classOsclSocketRequestAO.html#n2">iParam</a>; |
| 00071 } |
| 00072 }; |
| 00073 |
| 00074 |
| 00075 |
| 00076 |
| 00077 <span class="preprocessor">#endif</span> |
| 00078 <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_20090120 </small> |
| </small></address> |
| </body> |
| </html> |