Msrp/MsrpServer/inc/MMSRPMessageObserver.h
branchMSRP_FrameWork
changeset 25 505ad3f0ce5c
child 58 cdb720e67852
equal deleted inserted replaced
22:f1578314b8da 25:505ad3f0ce5c
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 * Contributors:
       
    11 *
       
    12 * Description:
       
    13 * MSRP Implementation
       
    14 *
       
    15 */
       
    16 
       
    17 #ifndef MMSRPMESSAGEOBSERVER_H_
       
    18 #define MMSRPMESSAGEOBSERVER_H_
       
    19 
       
    20 class CMSRPMessageHandler;
       
    21 
       
    22 class MMSRPMessageObserver
       
    23     {
       
    24 protected:
       
    25     ~MMSRPMessageObserver(){};
       
    26 			
       
    27     // Interface via which the Message informs events to its observer (a server sub session).
       
    28 
       
    29 public:
       
    30     
       
    31     virtual void MessageSendCompleteL( ) = 0;
       
    32     
       
    33 	virtual void MessageResponseSendCompleteL( CMSRPMessageHandler& aMsg ) = 0;
       
    34 	
       
    35 	virtual void MessageSendProgressL(TInt aBytesSent, TInt aTotalBytes) = 0;
       
    36 	
       
    37 	virtual void MessageReceiveProgressL(TInt aBytesSent, TInt aTotalBytes) = 0;
       
    38         
       
    39     virtual void WriterError( ) = 0;
       
    40     
       
    41     };
       
    42 
       
    43 #endif /* MMSRPMSGOBSERVER_H_ */