realtimenetprots/sipfw/SIP/Server/inc/TSipCSReceiveItem.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          : TSipCSReceiveItem.h
       
    16 * Part of       : SIPServerCore
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef TSIPCSRECEIVEITEM_H
       
    29 #define TSIPCSRECEIVEITEM_H
       
    30 
       
    31 #include <e32base.h>
       
    32 #include "sipclientserver.h"
       
    33 
       
    34 
       
    35 class TSipCSReceiveItem
       
    36     {
       
    37 public:
       
    38 
       
    39     TSipCSReceiveItem (const TSIPIds& aIds,
       
    40                        CBufFlat* aSipMessageHeaders,
       
    41                        HBufC8* aSipMessageContent,
       
    42                        TBool aContainsSIPRequest,
       
    43                        TInt aError=KErrNone);
       
    44 
       
    45     TSipCSReceiveItem (const TSIPIds& aIds, TInt aError);
       
    46 
       
    47     CBufFlat* Headers ();
       
    48     HBufC8* Content ();
       
    49     TSIPMessageBufSizes BufSizes() const;
       
    50     const TSIPIds& Ids () const;
       
    51     TBool ContainsSIPRequest() const;
       
    52 	TInt Error() const;
       
    53 
       
    54 private:
       
    55 
       
    56     TSipCSReceiveItem ();
       
    57 
       
    58 private: // Data
       
    59     
       
    60     TSIPIds iIds;
       
    61     CBufFlat* iHeaders;
       
    62     HBufC8* iContent;
       
    63     TBool iContainsSIPRequest;
       
    64     TInt iError;
       
    65     };
       
    66 
       
    67 #endif // TSIPCSRECEIVEITEM_H
       
    68 
       
    69 // End of File