applayerprotocols/httpexamples/nwsswsptrhnd/MNwssTransactionEventHandler.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file MNwssTransactionEventHandler.h
       
    18  @warning : This file contains Rose Model ID comments - please do not delete
       
    19 */
       
    20 
       
    21 #ifndef __MNWSSTRANSACTIONEVENTHANDLER_H__
       
    22 #define __MNWSSTRANSACTIONEVENTHANDLER_H__
       
    23 
       
    24 // System includes
       
    25 #include <wapcli.h>
       
    26 
       
    27 
       
    28 /**
       
    29 	@since			7.0
       
    30 	This interface defines methods to handle each type of transaction event that can be received
       
    31 	in the WSP layer of the WAP Stack.  To handle an event, the corresponding transaction ID is
       
    32 	supplied.
       
    33  */
       
    34 //##ModelId=3C9B094C02EA
       
    35 class MNwssTransactionEventHandler
       
    36 	{
       
    37 public:	// Methods
       
    38 
       
    39 /**	
       
    40 	Handle the T-MethodInvoke.cnf PDU received from the WAP Stack.	
       
    41 	@since			7.0
       
    42 	@param			aTransId		(in) The ID of the transaction on which the event occurred.
       
    43 	@leave			System wide errors, e.g. KErrNoMemory
       
    44  */
       
    45 	//##ModelId=3C9B094C031C
       
    46 	virtual void HandleMethodInvokeCnfL(RWSPCOTrans::TTransID aTransId) = 0;
       
    47 
       
    48 /**Handle the T-MethodResult.ind PDU received from the WAP Stack.	
       
    49 	@since			7.0
       
    50 	@param			aTransId		(in) The ID of the transaction on which the event occurred.
       
    51 	@leave			System wide errors, e.g. KErrNoMemory
       
    52  */	//##ModelId=3C9B094C0314
       
    53 	virtual void HandleMethodResultIndL(RWSPCOTrans::TTransID aTransId) = 0;
       
    54 
       
    55 /**Handle the T-MethodAbort.ind PDU received from the WAP Stack.	
       
    56 	@since			7.0
       
    57 	@param			aTransId		(in) The ID of the transaction on which the event occurred.
       
    58 	@leave			System wide errors, e.g. KErrNoMemory
       
    59  */	//##ModelId=3C9B094C0312
       
    60 	virtual void HandleAbortIndL(RWSPCOTrans::TTransID aTransId) = 0;
       
    61 	};
       
    62 
       
    63 #endif	// __MNWSSTRANSACTIONEVENTHANDLER_H__