realtimenetprots/sipfw/SIP/ConnectionMgr/src/CTcpTransState.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 14:01:23 +0300
changeset 27 740ceea8e153
parent 0 307788aac0a8
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

// Copyright (c) 2002-2009 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:
// Name          : CTcpTransState.cpp
// Part of       : ConnectionMgr
// Version       : SIP/3.0 
//




#include "CTcpTransState.h"
#include "sipmessage.h"

// -----------------------------------------------------------------------------
// CTcpTransportState::SendToNetL
// -----------------------------------------------------------------------------
//
void CTcpTransportState::SendToNetL(const TSIPTransportParams& /*aParams*/,
                                    CSIPMessage& /*aMessage*/,
									const TInetAddr& /*aAddr*/,
									TRequestStatus& /*aStatus*/,
									TUint /*aOrigTransport*/,
									CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::CancelSend
// -----------------------------------------------------------------------------
//
TBool CTcpTransportState::CancelSend(TRequestStatus& /*aStatus*/,
									 CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
				   User::Panic(_L("CTcpTransState baseclass is called"),
				   KErrGeneral));
	return EFalse;
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::Wait
// -----------------------------------------------------------------------------
//
void CTcpTransportState::Wait(CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::HandleMessage
// -----------------------------------------------------------------------------
//
TBool CTcpTransportState::HandleMessage(RStringF /*aProtocol*/,
									 	const TInetAddr& /*aRemoteAddr*/,
									 	CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	return EFalse;
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::CancelAllRequests
// -----------------------------------------------------------------------------
//
void CTcpTransportState::CancelAllRequests(CSIPConnection::TState /*aReason*/,
										   CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
	User::Panic(_L("CTcpTransState baseclass is called"),
	KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::ConnectionOpenL
// -----------------------------------------------------------------------------
//
void CTcpTransportState::ConnectionOpenL(CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::DisconnectedL
// -----------------------------------------------------------------------------
//
void CTcpTransportState::DisconnectedL(CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::SetNeighborState
// -----------------------------------------------------------------------------
//
void CTcpTransportState::SetNeighborState(CTcpTransportState* /*aState*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::TimerExpiredL
// -----------------------------------------------------------------------------
//
void CTcpTransportState::TimerExpiredL(CTransportTcp* /*aContext*/)
	{
	__ASSERT_DEBUG(EFalse,
		User::Panic(_L("CTcpTransState baseclass is called"),
		KErrGeneral));
	}

// -----------------------------------------------------------------------------
// CTcpTransportState::CTcpTransportState
// -----------------------------------------------------------------------------
//
CTcpTransportState::CTcpTransportState(const TSIPTransportParams& aParams) :
    iTransportParams(aParams)
	{
	}