S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SIPEXReaderNotifier.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SIPExReaderNotifier.h
00004 *  Part of     : SIPExSocketEngine
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __MSIPEXREADERNOTIFIER_H
00017 #define __MSIPEXREADERNOTIFIER_H
00018 
00019 // CLASS DECLARATIONS
00020 /**
00021 * The socket reader notifier inteface.
00022 * Notifies about events in reader.
00023 */
00024 class MSIPExReaderNotifier
00025         {
00026         public:
00027 
00028         /**
00029         * Called when the message has read from the socket.
00030         * @param aBuffer Contains the readed buffer
00031         */
00032         virtual void MessageReceived( TDesC8& aBuffer ) = 0;
00033         
00034         /**
00035         * Called if error occurs in reading from the socket.
00036         * @param aError The error code
00037         */        
00038         virtual void ErrorInReading( TInt aError ) = 0;
00039         };
00040 
00041 #endif // __MSIPEXREADERNOTIFIER_H
00042 
00043 // End of file

© Nokia 2006

Back to top