webservices/wsoviplugin/inc/wsovicredentialcollectorhandler.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2008 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: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef WSOVI_CREDENTIAL_COLLECTOR_HANDLER_H
       
    26 #define WSOVI_CREDENTIAL_COLLECTOR_HANDLER_H
       
    27 
       
    28 #include <e32std.h>
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 // CONSTANTS
       
    33 
       
    34 
       
    35 // INCLUDES
       
    36 #include <e32std.h>
       
    37 #include <flogger.h>
       
    38 #include "wsovimessagecontext.h"
       
    39 #include "wsovihandlercontext.h"
       
    40 #include "senmessagehandler.h"
       
    41 #include "SenSoapMessage.h"
       
    42 #include "sendebug.h"
       
    43 #include "senserviceinvocationframework.h"
       
    44 
       
    45 /**
       
    46  * Class:       
       
    47  *
       
    48  * Description: An implementation of the CWSOviHandler definition. This is concrete
       
    49  * class, instance of which ECOM framework gives to ECOM clients.
       
    50  * This handler set mobile ticket in security section in header.
       
    51  */
       
    52 class CWSOviCredentialCollectorHandler : public CSenMessageHandler
       
    53     {
       
    54 
       
    55 public:
       
    56     static CWSOviCredentialCollectorHandler* NewL(TAny* aHandlerCtx);
       
    57     virtual TInt InvokeL(MSenMessageContext& aCtx);
       
    58     virtual TInt InitL(MSenHandlerContext& aCtx);    
       
    59     ~CWSOviCredentialCollectorHandler();
       
    60     
       
    61     virtual SenHandler::THandlerDirection Direction() const;
       
    62     virtual SenHandler::THandlerPhase Phase();
       
    63     
       
    64 protected:
       
    65     /**
       
    66      * Function:   CWSOviCredentialCollectorHandler
       
    67      *
       
    68      * Discussion: Perform the first phase of two phase construction
       
    69      */
       
    70     CWSOviCredentialCollectorHandler(MSenHandlerContext& aCtx);
       
    71     
       
    72     /**
       
    73      * Function:   ConstructL
       
    74      *
       
    75      * Discussion: Perform the second phase construction of a
       
    76      *             CImplementationClassPlus object.
       
    77      */
       
    78     void ConstructL();
       
    79 
       
    80     };
       
    81 
       
    82 
       
    83 #endif // WSOVI_CREDENTIAL_COLLECTOR_HANDLER_H
       
    84