realtimenetprots/sipfw/SampleApp/socketengine/Inc/SIPExSocketEngineObserver.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 MSIPEXSOCKETENGINEOBSERVER_H
       
    22 #define MSIPEXSOCKETENGINEOBSERVER_H
       
    23 
       
    24 // INCLUDES
       
    25 #include    "SIPExSocketEngine.h"
       
    26 
       
    27 // CLASS DECLARATIONS
       
    28 /**
       
    29 * Interface for observing the socket engine.
       
    30 */
       
    31 class MSIPExSocketEngineObserver
       
    32     {
       
    33     public:
       
    34 
       
    35         /**
       
    36         * SocketState
       
    37         * @param aNewState The new state of the socket engine.
       
    38         */
       
    39         virtual void SocketState( TInt aNewState ) = 0;
       
    40         
       
    41         /**
       
    42         * SocketData
       
    43         * @param aData The data from socket.
       
    44         */
       
    45         virtual void SocketData( TDesC8& aData ) = 0;
       
    46     };
       
    47 
       
    48 #endif // MSIPEXSOCKETENGINEOBSERVER_H
       
    49 
       
    50 // End of file