realtimenetprots/sipfw/SIP/TransactionUser/inc/MTransactionStore.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2006-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          : MTransactionStore.h
       
    16 * Part of       : TransactionUser
       
    17 * Version       : SIP/6.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef MTRANSACTIONSTORE_H
       
    29 #define MTRANSACTIONSTORE_H
       
    30 
       
    31 // INCLUDES
       
    32 #include "SipStackServerDefs.h"
       
    33 
       
    34 #include <e32base.h>
       
    35 
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39  * MTransactionStore provides limited access to CTransactionStore componen of
       
    40  * the TransactionUser subsystem.
       
    41  */
       
    42 class MTransactionStore
       
    43 	{
       
    44 public:
       
    45 
       
    46 	virtual ~MTransactionStore() {}
       
    47 
       
    48 	/**
       
    49 	 * Updates TransactionId of the transaction identified by aOldTransactionId.
       
    50 	 * @param aOldTransactionId Identifies the transaction to be modified
       
    51 	 * @param aNewTransactionId New value for TransactionId
       
    52 	 * @return KErrNone if successful
       
    53      *         KErrNotFound if not found
       
    54 	 */
       
    55 	virtual TInt UpdateTransactionId(TTransactionId aOldTransactionId,
       
    56 									 TTransactionId aNewTransactionId) = 0;
       
    57 
       
    58 	/**
       
    59 	 * Removes the specified transaction from the store, but does not delete the
       
    60 	 * UA and transaction instances.
       
    61 	 * @param aTransactionId Identifies the transaction to be removed.
       
    62 	 */
       
    63 	virtual void Remove(TTransactionId aTransactionId) = 0;
       
    64 	};
       
    65 
       
    66 #endif // end of MTRANSACTIONSTORE_H
       
    67 
       
    68 // End of File