Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

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

Definition at line 53 of file cobain.h.


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

Referenced by RCobainSocket::RunL().

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.

Referenced by RCobainSocket::RunL().

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

Referenced by RCobainSocket::RunL(), and RCobainSocket::SendL().


The documentation for this class was generated from the following file:
Generated on Tue Jan 13 15:47:09 2004 for CobainAPIImplementation by doxygen 1.3.5