vpnengine/kmdserver/src/connectionstarter.cpp
branchRCL_3
changeset 15 a15e6baef510
parent 0 33413c0669b9
equal deleted inserted replaced
13:e4ed1060deb1 15:a15e6baef510
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    49 // Constructor.
    49 // Constructor.
    50 // ---------------------------------------------------------------------------
    50 // ---------------------------------------------------------------------------
    51 //
    51 //
    52 CConnectionStarter::CConnectionStarter( CVpnConnection& aConnection,
    52 CConnectionStarter::CConnectionStarter( CVpnConnection& aConnection,
    53                                         MConnectionStarterCallback& aCallback )
    53                                         MConnectionStarterCallback& aCallback )
    54  : CActive( EPriorityStandard ),
    54  : CActive( EPriorityHigh ), // Higher priority than in CDisconnectionObserver
    55    iConnection( aConnection ),
    55    iConnection( aConnection ),
    56    iCallback( aCallback )
    56    iCallback( aCallback )
    57     {
    57     {
    58     CActiveScheduler::Add( this );
    58     CActiveScheduler::Add( this );
    59     }
    59     }