realtimenetprots/sipfw/ClientResolver/Server/inc/CSIPCRResponseItem.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          : CSIPCRSessionReceiver.h
       
    16 * Part of       : SIP Client Resolver
       
    17 * Version       : 1.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 #ifndef CSIPCRRESPONSEITEM_H
       
    28 #define CSIPCRRESPONSEITEM_H
       
    29 
       
    30 //  INCLUDES
       
    31 #include <e32base.h>
       
    32 #include "sipCRclientserver.h"
       
    33 
       
    34 
       
    35 class CSIPCRResponseItem : public CBase
       
    36     {
       
    37 public:
       
    38 
       
    39     CSIPCRResponseItem(TUint32 aRequestId,
       
    40                        TUid aChannel);
       
    41     
       
    42     CSIPCRResponseItem(TUint32 aRequestId,
       
    43                        CBufFlat* aResponse,
       
    44                        HBufC8* aContent);
       
    45     
       
    46     CSIPCRResponseItem(TUint32 aRequestId,
       
    47                        TInt aCompletionCode);    
       
    48     
       
    49     ~CSIPCRResponseItem();
       
    50 	
       
    51     TUint32 RequestId() const;
       
    52 
       
    53     CBufFlat* SIPResponse();
       
    54     
       
    55     HBufC8* SIPResponseContent();
       
    56 
       
    57     TUid Channel() const;
       
    58     
       
    59     TInt Error() const;
       
    60     
       
    61     TSIPCRMessageBufSizes BufSizes() const;
       
    62         
       
    63 private: // Data
       
    64 
       
    65     TInt iError;
       
    66     TUint32 iRequestId;
       
    67     TUid iChannel;
       
    68     CBufFlat* iResponse;
       
    69     HBufC8* iContent;          
       
    70     };
       
    71 
       
    72 #endif // CSIPCRRESPONSEITEM_H
       
    73 
       
    74 // End of File