Msrp/MsrpServer/inc/MMSRPParser.h
branchMSRP_FrameWork
changeset 25 505ad3f0ce5c
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 __MMMSRPPARSER_H
       
    18 #define __MMMSRPPARSER_H
       
    19 
       
    20 // INCLUDES
       
    21 #include <e32base.h>
       
    22 #include "MMSRPParserObserver.h"
       
    23 #include "MsrpBuffer.h"
       
    24 
       
    25 // CLASS DECLARATIONS
       
    26 /**
       
    27 * The socket reader request interface.
       
    28 */
       
    29 class MMSRPParser
       
    30 	{
       
    31 	public:
       
    32 	    
       
    33 	    inline virtual ~MMSRPParser(){}
       
    34 
       
    35         /**
       
    36          *   Set a variable, to stop parser self completing
       
    37          */
       
    38         //virtual void StopParser() = 0;
       
    39 
       
    40         /**
       
    41          * DataReceived triggers start, idles on no msgs
       
    42          */
       
    43         virtual void ParseL(RMsrpBuf& aBuf) = 0;
       
    44 
       
    45 	};
       
    46 
       
    47 #endif // __MMMSRPPARSER_H
       
    48 
       
    49 // End of file