realtimenetprots/sipfw/SampleApp/socketengine/Inc/SIPEXReaderNotifier.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 
       
     2 /*
       
     3 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * Nokia Corporation - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MSIPEXREADERNOTIFIER_H
       
    22 #define __MSIPEXREADERNOTIFIER_H
       
    23 
       
    24 // CLASS DECLARATIONS
       
    25 /**
       
    26 * The socket reader notifier inteface.
       
    27 * Notifies about events in reader.
       
    28 */
       
    29 class MSIPExReaderNotifier
       
    30 	{
       
    31 	public:
       
    32 
       
    33         /**
       
    34         * Called when the message has read from the socket.
       
    35         * @param aBuffer Contains the readed buffer
       
    36         */
       
    37         virtual void MessageReceived( TDesC8& aBuffer ) = 0;
       
    38         
       
    39         /**
       
    40         * Called if error occurs in reading from the socket.
       
    41         * @param aError The error code
       
    42         */        
       
    43         virtual void ErrorInReading( TInt aError ) = 0;
       
    44 	};
       
    45 
       
    46 #endif // __MSIPEXREADERNOTIFIER_H
       
    47 
       
    48 // End of file