natfw/natfwicecandidatehandler/tsrc/ut_icecandidatehandler/stubs/stunutils_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 "stunutils.h"
#include "natfwunsafmessage.h"
#include "natfwunsafmappedaddressattribute.h"
#include "natfwunsafxormappedaddressattribute.h"
#include "natfwunsafunknownattributesattribute.h"
#include "natfwunsafrelayaddressattribute.h"
#include "natfwunsaftimervalattribute.h"

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

// -----------------------------------------------------------------------------
// STUNUtils::GetMappedAddress
// -----------------------------------------------------------------------------
//
TBool STUNUtils::GetMappedAddress( const CNATFWUNSAFMessage& aResponse,
                                   TInetAddr& aAddr )
    {

    }

// -----------------------------------------------------------------------------
// STUNUtils::GetXorMappedAddressL
// -----------------------------------------------------------------------------
//
TBool STUNUtils::GetXorMappedAddressL( const CNATFWUNSAFMessage& aResponse,
                                       TInetAddr& aAddr )
    {

    }

// -----------------------------------------------------------------------------
// STUNUtils::GetRelayAddressL
// -----------------------------------------------------------------------------
//
TBool STUNUtils::GetRelayAddressL( const CNATFWUNSAFMessage& aResponse,
                                   TInetAddr& aAddr )
    {
    }

// -----------------------------------------------------------------------------
// STUNUtils::GetTimerValueL
// -----------------------------------------------------------------------------
//
TBool STUNUtils::GetTimerValueL( const CNATFWUNSAFMessage& aResponse,
                                 TUint32& aTimerVal )
    {
    }
    
// -----------------------------------------------------------------------------
// STUNUtils::Is5xxResponse
// -----------------------------------------------------------------------------
//
TBool STUNUtils::Is5xxResponse( TInt aResponseCode )
    {
    }

// -----------------------------------------------------------------------------
// STUNUtils::RemoveUnknownAttributes
// -----------------------------------------------------------------------------
//
void STUNUtils::RemoveUnknownAttributes( CNATFWUNSAFMessage& aMessage,
    const CNATFWUNSAFUnknownAttributesAttribute& aUnknownAttr )
    {
    }