realtimenetprots/sipfw/ClientResolver/Server/inc/CSIPCRRequestItem.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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:
       
    15 * Name          : CSIPCRRequestItem.h
       
    16 * Part of       : SIP Client Resolver
       
    17 * Version       : 1.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 #ifndef CSIPCRREQUESTITEM_H
       
    28 #define CSIPCRREQUESTITEM_H
       
    29 
       
    30 //  INCLUDES
       
    31 #include <e32base.h>
       
    32 #include "TSipClient.h"
       
    33 
       
    34 class CSIPCRRequestItem : public CBase
       
    35     {
       
    36 public: // Constructors and destructor
       
    37 
       
    38 	static CSIPCRRequestItem* NewL (TUint32 aRequestId,
       
    39 	                                const TSipClient& aClient,
       
    40 	                                const TUid& aChannelUid,
       
    41 	                                const TUid& aResolverUid);
       
    42 	
       
    43 	static CSIPCRRequestItem* NewLC (TUint32 aRequestId,
       
    44 	                                 const TSipClient& aClient,
       
    45 	                                 const TUid& aChannelUid,
       
    46 	                                 const TUid& aResolverUid);
       
    47 
       
    48     ~CSIPCRRequestItem ();
       
    49 	
       
    50 public: // New functions	
       
    51 	
       
    52 	TUint32 RequestId() const;
       
    53 	const TSipClient& Client() const;
       
    54 	const TUid& ChannelUid() const;
       
    55 	const TUid& ResolverUid() const;
       
    56 	void SetConnectCalled();
       
    57 	TBool ConnectCalled() const;
       
    58 	
       
    59 private: // Second phase constructors
       
    60 
       
    61     CSIPCRRequestItem (TUint32 aRequestId,
       
    62                        const TSipClient& aClient,
       
    63                        const TUid& aChannelUid,
       
    64                        const TUid& aResolverUid);	
       
    65     
       
    66 private: // Data    
       
    67     
       
    68     TUint32 iRequestId;
       
    69     TSipClient iClient;
       
    70     TUid iChannelUid;
       
    71     TUid iResolverUid;
       
    72     TBool iConnectCalled;
       
    73     };
       
    74 
       
    75 #endif // CSIPCRREQUESTITEM_H
       
    76             
       
    77 // End of File