natfw/natfwicecandidatehandler/tsrc/ut_icecandidatehandler/stubs/cstunbindinggetaddress_stub.cpp
author Paulius Meskauskas <paulius.meskauskas@nokia.com>
Tue, 14 Sep 2010 11:27:31 +0300
changeset 52 04d0e3761c38
parent 0 1bce908db942
permissions -rw-r--r--
Added API documentation and example code.

/*
* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:    
*
*/




#include "natfwunsaflog.h"
#include "stunassert.h"
#include "cstunbindinggetaddress.h"
#include "natfwbindingimplementationbase.h"
#include "stunutils.h"

// ======== MEMBER FUNCTIONS ========

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::CSTUNBindingGetAddress
// ---------------------------------------------------------------------------
//
CSTUNBindingGetAddress::CSTUNBindingGetAddress()
    {
    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::CSTUNBindingGetAddress
// Dummy implementation, as copy constructor is declared private and not used.
// ---------------------------------------------------------------------------
//
CSTUNBindingGetAddress::CSTUNBindingGetAddress(
    const CSTUNBindingGetAddress& /*aGetAddress*/ ) :
    CSTUNBindingState()
    {    
    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::~CSTUNBindingGetAddress
// ---------------------------------------------------------------------------
//
CSTUNBindingGetAddress::~CSTUNBindingGetAddress()
    {
    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::PublicAddressReceivedL
// ---------------------------------------------------------------------------
//
void CSTUNBindingGetAddress::PublicAddressReceivedL(
    CBindingImplementation& aContext,
    const TInetAddr& aPublicAddress ) const
    {

    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::PublicAddressReceivedL - overloaded for stun relay
// ---------------------------------------------------------------------------
//
void CSTUNBindingGetAddress::PublicAddressReceivedL(
    CBindingImplementation& aContext,
    const TInetAddr& aReflexiveAddr,
    const TInetAddr& aRelayAddr ) const
    {

    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::TransactionError
// ---------------------------------------------------------------------------
//
void
CSTUNBindingGetAddress::TransactionError( CBindingImplementation& aContext,
                                          TInt aError )
    {

    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::SendRequestL
// No action, since obtaining a binding is already in progress.
// ---------------------------------------------------------------------------
//
void CSTUNBindingGetAddress::SendRequestL(
    CBindingImplementation& /*aContext*/ ) const
    {
    }

// ---------------------------------------------------------------------------
// CSTUNBindingGetAddress::SetNeighbourStates
// ---------------------------------------------------------------------------
//
void CSTUNBindingGetAddress::SetNeighbourStates(
    CSTUNBindingState& aGetSharedSecret,
    CSTUNBindingState& aWaitToRetry,
    CSTUNBindingState& aActive )
    {
    }