• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_ip_socket.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> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9<hr><h1>oscl_ip_socket.h</h1><a href="oscl__ip__socket_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
1000002 <span class="preprocessor">#ifndef OSCL_IP_SOCKET_H_INCLUDED</span>
1100003 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_IP_SOCKET_H_INCLUDED</span>
1200004 <span class="preprocessor"></span>
1300005 <span class="preprocessor">#include "<a class="code" href="oscl__socket__types_8h.html">oscl_socket_types.h</a>"</span>
1400006 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span>
1500007 <span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span>
1600008
1700011 <span class="keyword">class </span><a class="code" href="classOsclSocketServ.html">OsclSocketServ</a>;
1800012 <span class="keyword">class </span><a class="code" href="classOsclSocketI.html">OsclSocketI</a>;
1900013 <span class="keyword">class </span><a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>;
2000014 <span class="keyword">class </span><a class="code" href="classPVLogger.html">PVLogger</a>;
21<a name="l00015"></a><a class="code" href="classOsclIPSocketI.html">00015</a> <span class="keyword">class </span><a class="code" href="classOsclIPSocketI.html">OsclIPSocketI</a>
2200016 {
2300017     <span class="keyword">public</span>:
2400018         <span class="comment">//Synchronous methods.</span>
2500019         int32 <a class="code" href="classOsclIPSocketI.html#a0">Bind</a>(<a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a>&amp; aAddress);
2600020         int32 <a class="code" href="classOsclIPSocketI.html#a1">Join</a>(<a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a>&amp; aAddress);
2700021         int32 <a class="code" href="classOsclIPSocketI.html#a2">SetRecvBufferSize</a>(uint32 size);
2800022         <span class="keyword">virtual</span> int32 <a class="code" href="classOsclIPSocketI.html#a3">Close</a>() = 0;
2900023         <span class="keyword">virtual</span> uint8 *<a class="code" href="classOsclIPSocketI.html#a4">GetRecvData</a>(int32 *aLength) = 0;
3000024         <span class="keyword">virtual</span> uint8 *<a class="code" href="classOsclIPSocketI.html#a5">GetSendData</a>(int32 *aLength) = 0;
31<a name="l00025"></a><a class="code" href="classOsclIPSocketI.html#a6">00025</a>         <span class="keyword">virtual</span> <a class="code" href="classOsclIPSocketI.html#a6">~OsclIPSocketI</a>() {}
3200026
33<a name="l00027"></a><a class="code" href="classOsclIPSocketI.html#a7">00027</a>         <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>* <a class="code" href="classOsclIPSocketI.html#a7">SocketServ</a>()
3400028         {
3500029             <span class="keywordflow">return</span> <a class="code" href="classOsclIPSocketI.html#n5">iSocketServ</a>;
3600030         }
37<a name="l00031"></a><a class="code" href="classOsclIPSocketI.html#a8">00031</a>         <a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a>&amp; <a class="code" href="classOsclIPSocketI.html#a8">Alloc</a>()
3800032         {
3900033             <span class="keywordflow">return</span> <a class="code" href="classOsclIPSocketI.html#n0">iAlloc</a>;
4000034         }
4100035
4200036     <span class="keyword">protected</span>:
43<a name="l00037"></a><a class="code" href="classOsclIPSocketI.html#n0">00037</a>         <a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a> &amp;<a class="code" href="classOsclIPSocketI.html#n0">iAlloc</a>;
4400038
45<a name="l00039"></a><a class="code" href="classOsclIPSocketI.html#n1">00039</a>         <a class="code" href="classOsclNetworkAddress.html">OsclNetworkAddress</a> <a class="code" href="classOsclIPSocketI.html#n1">iAddress</a>;
46<a name="l00040"></a><a class="code" href="classOsclIPSocketI.html#n2">00040</a>         uint32 <a class="code" href="classOsclIPSocketI.html#n2">iId</a>;
47<a name="l00041"></a><a class="code" href="classOsclIPSocketI.html#n3">00041</a>         <a class="code" href="classOsclSocketObserver.html">OsclSocketObserver</a> *<a class="code" href="classOsclIPSocketI.html#n3">iObserver</a>;
48<a name="l00042"></a><a class="code" href="classOsclIPSocketI.html#n4">00042</a>         <a class="code" href="classOsclSocketI.html">OsclSocketI</a> *<a class="code" href="classOsclIPSocketI.html#n4">iSocket</a>;
49<a name="l00043"></a><a class="code" href="classOsclIPSocketI.html#n5">00043</a>         <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a> *<a class="code" href="classOsclIPSocketI.html#n5">iSocketServ</a>;
50<a name="l00044"></a><a class="code" href="classOsclIPSocketI.html#n6">00044</a>         <a class="code" href="classPVLogger.html">PVLogger</a>* <a class="code" href="classOsclIPSocketI.html#n6">iLogger</a>;
5100045
52<a name="l00046"></a><a class="code" href="classOsclIPSocketI.html#l0">00046</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclSocketRequestAO.html">OsclSocketRequestAO</a>;
53<a name="l00047"></a><a class="code" href="classOsclIPSocketI.html#l1">00047</a>         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classOsclSocketMethod.html">OsclSocketMethod</a>;
5400048
55<a name="l00049"></a><a class="code" href="classOsclIPSocketI.html#b0">00049</a>         <a class="code" href="classOsclIPSocketI.html#b0">OsclIPSocketI</a>(<a class="code" href="classOscl__DefAlloc.html">Oscl_DefAlloc</a>&amp; a): iAlloc(a)
5600050                 , <a class="code" href="classOsclIPSocketI.html#n2">iId</a>(0)
5700051                 , iObserver(<a class="code" href="group__osclbase.html#a81">NULL</a>)
5800052                 , iSocket(<a class="code" href="group__osclbase.html#a81">NULL</a>)
5900053                 , iSocketServ(<a class="code" href="group__osclbase.html#a81">NULL</a>)
6000054                 , iLogger(<a class="code" href="group__osclbase.html#a81">NULL</a>)
6100055         {}
6200056
6300057         <span class="keywordtype">void</span> <a class="code" href="classOsclIPSocketI.html#b1">ConstructL</a>(<a class="code" href="classOsclSocketObserver.html">OsclSocketObserver</a> *aObs, <a class="code" href="classOsclSocketI.html">OsclSocketI</a>* aSock, <a class="code" href="classOsclSocketServI.html">OsclSocketServI</a>* aServ, uint32 aId);
6400058
6500059 };
6600060
6700061
6800062
6900063 <span class="preprocessor">#endif</span>
7000064 <span class="preprocessor"></span>
7100065
72</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
73<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
74</small></address>
75</body>
76</html>
77