Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# OsclSocketObserver Class Reference

`#include <oscl_socket_types.h>`

## Public Methods
virtual OSCL_IMPORT_REF void | HandleSocketEvent (int32 aId, TPVSocketFxn aFxn, TPVSocketEvent aEvent, int32 aError)=0
virtual | ~OsclSocketObserver ()

## Detailed Description

Socket event observer. The client implements this to get asynchronous command completion.

## Constructor & Destructor Documentation

virtual OsclSocketObserver::~OsclSocketObserver | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual OSCL_IMPORT_REF void OsclSocketObserver::HandleSocketEvent | ( | int32 | aId,
|  | TPVSocketFxn | aFxn,
|  | TPVSocketEvent | aEvent,
|  | int32 | aError
| ) | `[pure virtual]`

  | Socket Event callback. Parameters:
  aId: | The ID that was supplied when the socket was created.
  aFxn: | Type of socket function call.
  aEvent: | Function completion event. Will be EPVSocketSuccess, EPVSocketTimeout, or EPVSocketFailure.
  aError: | When the event is EPVSocketFailure, this may contain a platform-specific error code, or zero if none is available.

The documentation for this class was generated from the following file:

- oscl_socket_types.h