natfw/natfwconnectionmultiplexer/inc/mncmreceiversenderobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:04:58 +0200
changeset 0 1bce908db942
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:    Observer for socket receiver and sender
*
*/




#ifndef M_MNCMRECEIVEROBSERVER_H
#define M_MNCMRECEIVEROBSERVER_H

#include <e32base.h>


/**
 *  Observer for socket receiver/sender
 *
 *  @lib connectionmux.lib
 *  @since S60 v3.2
 */
class MNcmReceiverSenderObserver
    {

public:

    /**
     * Called by socket receiver while message is found
     *
     * @since   S60 v3.2
     * @return  void
     */
    virtual void MessageAvailable() = 0;

    /**
     * Called by socket receiver/sender while error occurs
     *
     * @param   aError              Error code
     * @return  void
     */
    virtual void Error( TInt aError ) = 0;
    };


#endif // M_MNCMRECEIVEROBSERVER_H