Main Page | Data Structures | File List | Data Fields

MSocketListener Class Reference

Listener for a RCobainSocket's events. More...

#include <cobain.h>


Public Member Functions

virtual void Data (TDesC8 &aDataBuf, RCobainSocket *aSocket)=0
 Data was received.

virtual void SocketDisconnected (RCobainSocket *aSocket)=0
 A socket has been disconnected by the other end.

virtual void SocketError (TInt aError, RCobainSocket *aSocket)=0
 An error occurred in a socket operation.


Detailed Description

Listener for a RCobainSocket's events.

Author:
Matti Dahlbom
Version:
beta0_9_1_2004-01-13, 1.40


Member Function Documentation

virtual void MSocketListener::Data TDesC8 &  aDataBuf,
RCobainSocket aSocket
[pure virtual]
 

Data was received.

Parameters:
aDataBuf buffer containing the data
aSocket socket where the data was received

virtual void MSocketListener::SocketDisconnected RCobainSocket aSocket  )  [pure virtual]
 

A socket has been disconnected by the other end.

Parameters:
aSocket socket that was disconnected. Close() has already been called on the socket. The client should deallocate the socket instance.

virtual void MSocketListener::SocketError TInt  aError,
RCobainSocket aSocket
[pure virtual]
 

An error occurred in a socket operation.

Parameters:
aError error that occurred - a system wide error code.
aSocket socket that caused the error


The documentation for this class was generated from the following file:
Generated on Tue Jan 13 15:42:06 2004 for CobainAPI by doxygen 1.3.5