applayerprotocols/httpexamples/nwsswsptrhnd/MNwssSessionEventHandler.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 MNwssSessionEventHandler.h
       
    18  @warning : This file contains Rose Model ID comments - please do not delete
       
    19 */
       
    20 
       
    21 #ifndef __MNWSSSESSIONEVENTHANDLER_H__
       
    22 #define __MNWSSSESSIONEVENTHANDLER_H__
       
    23 
       
    24 
       
    25 /**
       
    26 	@since			7.0
       
    27 	This interface defines methods to handle each type of session event that can be received
       
    28 	in the WSP layer of the WAP Stack.
       
    29  */
       
    30 //##ModelId=3C9B094E00E4
       
    31 class MNwssSessionEventHandler
       
    32 	{
       
    33 public:	// Methods
       
    34 
       
    35 /**Handle the S-Disconnect.ind PDU received from the WAP Stack.	
       
    36 	@since			7.0
       
    37 	@leave			System wide errors, e.g. KErrNoMemory
       
    38  */
       
    39 	//##ModelId=3C9B094E0118
       
    40 	virtual void HandleDisconnectIndL() = 0;
       
    41 
       
    42 /**Handle the S-Suspend.ind PDU received from the WAP Stack.	
       
    43 	@since			7.0
       
    44 	@leave			System wide errors, e.g. KErrNoMemory
       
    45  */
       
    46 	//##ModelId=3C9B094E0117
       
    47 	virtual void HandleSuspendIndL() = 0;
       
    48 
       
    49 /**Handle the S-Resume.cnf PDU received from the WAP Stack.	
       
    50 	@since			7.0
       
    51 	@leave			System wide errors, e.g. KErrNoMemory
       
    52  */
       
    53 	//##ModelId=3C9B094E0116
       
    54 	virtual void HandleResumeCnfL() = 0;
       
    55 
       
    56 /**Handle the S-Connect.cnf PDU received from the WAP Stack.	
       
    57 	@since			7.0
       
    58 	@leave			System wide errors, e.g. KErrNoMemory
       
    59  */
       
    60 	//##ModelId=3C9B094E010D
       
    61 	virtual void HandleConnectCnfL() = 0;
       
    62 
       
    63 /**Handle the S-Redirect.ind PDU received from the WAP Stack.	
       
    64 	@since			7.0
       
    65 	@leave			System wide errors, e.g. KErrNoMemory
       
    66  */
       
    67 	//##ModelId=3C9B094E010C
       
    68 	virtual void HandleRedirectIndL() = 0;
       
    69 
       
    70 /**Handle the E-Exception.ind PDU received from the WAP Stack.	
       
    71 	@since			7.0
       
    72 	@leave			System wide errors, e.g. KErrNoMemory
       
    73  */
       
    74 	//##ModelId=3C9B094E0102
       
    75 	virtual void HandleExceptionIndL() = 0;
       
    76 	};
       
    77 
       
    78 #endif	// __MNWSSSESSIONEVENTHANDLER_H__