natfw/natfwconnectionmultiplexer/inc/mncmsourceobserver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Observer interface used to receive notifications from
       
    15 *                Connection Multiplexer.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef M_MNCMSOURCEOBSERVER_H
       
    23 #define M_MNCMSOURCEOBSERVER_H
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class MNcmSenderObserver;
       
    28 
       
    29 /**
       
    30  *  Observer interface used to notify multiplexer from new outgoing message
       
    31  *
       
    32  *  @lib connectionmux.lib
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 class MNcmSourceObserver
       
    36     {
       
    37 
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Called by source object when a new message is found
       
    42      *
       
    43      * @since S60 v3.2
       
    44      * @param aMessage          The outgoing message
       
    45      * @param aSenderObserver   Observer for this send
       
    46      * @param aDestAddr         Destination address
       
    47      */
       
    48     virtual void OutgoingMessageAvailable( const TDesC8& aMessage,
       
    49         MNcmSenderObserver* aSenderObserver, const TInetAddr& aDestAddr ) = 0;
       
    50 
       
    51     };
       
    52 
       
    53 
       
    54 #endif // M_MNCMSOURCEOBSERVER_H