realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/TSIPRegEventSubscriptionStateBase.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Name        : TSIPRegEventSubscriptionStateBase.cpp
       
    15 // Part of     : SIP Profile Agent
       
    16 // implementation
       
    17 // Version     : 1.0
       
    18 //
       
    19 
       
    20 
       
    21 
       
    22 #include "TSIPRegEventSubscriptionStateBase.h"
       
    23 #include "sipregeventcontext.h"
       
    24 
       
    25 // ----------------------------------------------------------------------------
       
    26 // TSIPRegEventSubscriptionStateBase::TSIPRegEventSubscriptionStateBase
       
    27 // ----------------------------------------------------------------------------
       
    28 //
       
    29 TSIPRegEventSubscriptionStateBase::TSIPRegEventSubscriptionStateBase(
       
    30     MSIPRegEventContext& aContext)
       
    31     : iContext(aContext)
       
    32     {
       
    33     }
       
    34     
       
    35 // ----------------------------------------------------------------------------
       
    36 // TSIPRegEventSubscriptionStateBase::~TSIPRegEventSubscriptionStateBase
       
    37 // ----------------------------------------------------------------------------
       
    38 //		
       
    39 TSIPRegEventSubscriptionStateBase::~TSIPRegEventSubscriptionStateBase()
       
    40     {
       
    41     }
       
    42 
       
    43 // ----------------------------------------------------------------------------
       
    44 // TSIPRegEventSubscriptionStateBase::SubscribeL
       
    45 // ----------------------------------------------------------------------------
       
    46 //
       
    47 void TSIPRegEventSubscriptionStateBase::SubscribeL()
       
    48     {
       
    49     // By default NOP.
       
    50     }
       
    51 		
       
    52 // ----------------------------------------------------------------------------
       
    53 // TSIPRegEventSubscriptionStateBase::RefreshL
       
    54 // ----------------------------------------------------------------------------
       
    55 //
       
    56 void TSIPRegEventSubscriptionStateBase::RefreshL()
       
    57     {
       
    58     // By default NOP.
       
    59     }
       
    60 
       
    61 // ----------------------------------------------------------------------------
       
    62 // TSIPRegEventSubscriptionStateBase::ResponseReceivedL
       
    63 // ----------------------------------------------------------------------------
       
    64 //    
       
    65 void TSIPRegEventSubscriptionStateBase::ResponseReceivedL(
       
    66     TUint /*aStatusCode*/,
       
    67     TUint /*aRetryAfter*/)
       
    68     {
       
    69     // By default NOP.
       
    70     }
       
    71     
       
    72 // ----------------------------------------------------------------------------
       
    73 // TSIPRegEventSubscriptionStateBase::ErrorOccuredL
       
    74 // ----------------------------------------------------------------------------
       
    75 //    
       
    76 void TSIPRegEventSubscriptionStateBase::ErrorOccuredL()
       
    77     {
       
    78     iContext.SubscriptionFailedL();
       
    79     }