<!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>OsclSocketObserver class Reference</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>OsclSocketObserver Class Reference</h1><code>#include <<a class="el" href="oscl__socket__types_8h-source.html">oscl_socket_types.h</a>></code> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classOsclSocketObserver.html#a0">HandleSocketEvent</a> (int32 aId, <a class="el" href="oscl__socket__types_8h.html#a19">TPVSocketFxn</a> aFxn, <a class="el" href="oscl__socket__types_8h.html#a20">TPVSocketEvent</a> aEvent, int32 aError)=0</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOsclSocketObserver.html#a1">~OsclSocketObserver</a> ()</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Socket event observer. The client implements this to get asynchronous command completion. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a1" doxytag="OsclSocketObserver::~OsclSocketObserver"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual OsclSocketObserver::~OsclSocketObserver </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a0" doxytag="OsclSocketObserver::HandleSocketEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual OSCL_IMPORT_REF void OsclSocketObserver::HandleSocketEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int32 </td> <td class="mdname" nowrap> <em>aId</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="oscl__socket__types_8h.html#a19">TPVSocketFxn</a> </td> <td class="mdname" nowrap> <em>aFxn</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="oscl__socket__types_8h.html#a20">TPVSocketEvent</a> </td> <td class="mdname" nowrap> <em>aEvent</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int32 </td> <td class="mdname" nowrap> <em>aError</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Socket Event callback.<dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>aId:</em> </td><td> The ID that was supplied when the socket was created. </td></tr> <tr><td valign=top><em>aFxn:</em> </td><td> Type of socket function call. </td></tr> <tr><td valign=top><em>aEvent:</em> </td><td> Function completion event. Will be EPVSocketSuccess, EPVSocketTimeout, or EPVSocketFailure. </td></tr> <tr><td valign=top><em>aError:</em> </td><td> When the event is EPVSocketFailure, this may contain a platform-specific error code, or zero if none is available. </td></tr> </table> </dl> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="oscl__socket__types_8h-source.html">oscl_socket_types.h</a></ul> <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> </small></address> </body> </html>