datacommsserver/esockserver/inc/es_enum_internal.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 11:05:47 +0300
branchRCL_3
changeset 24 00c6709d25aa
parent 0 dfb7c4ff071f
child 25 9d7ce34704c8
permissions -rw-r--r--
Revision: 201033 Kit: 201033

// Copyright (c) 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:
//


/**
 @file
*/

#if !defined (__ES_ENUM_INTERNAL_H__)
#define __ES_ENUM_INTERNAL_H__

#include <es_enum.h>
#include <es_enum_partner.h>

class TConnProviderInfo : public TConnArgBase
/**
@internalTechnology
*/
	{
public:
	inline TConnProviderInfo()
		{
		iVersion = KConnArgVersion3;
		Mem::FillZ(iInfo,sizeof(iInfo));
		}

public:
	TUint32 iInfo[5];
	};

/**
@internalTechnology
*/
typedef TPckgBuf<TInterfaceNotification> TInterfaceNotificationBuf;

/**
@internalComponent
*/
typedef TPckgBuf<TConnectionEnumArg> TConnEnumArgBuf;

/**
@internalComponent
*/
typedef TPckgBuf<TConnectionGetClientInfoArg> TConnGetClientInfoArgBuf;

class TConnectionSocketInfo
/**
@internalComponent
*/
	{
public:
	inline TConnectionSocketInfo();
public:
	TUint iAddressFamily;
	TUint iProtocol;
	TSockAddr iSourceAddress;
	TSockAddr iDestinationAddress;
	};

class TConnectionGetSocketInfoArg : public TConnArgBase
/**
for KCoGetConnectionSocketInfo

@internalComponent
*/
	{
public:
	TConnectionGetSocketInfoArg();
public:
	TUint iIndex;
	TConnectionSocketInfo iSocketInfo;
	};

/**
@internalComponent
*/
typedef TPckgBuf<TConnectionGetSocketInfoArg> TConnGetSocketInfoArgBuf;

/**
This enum is used as an internal extension to TConnInterfaceState

@internalComponent
*/
enum TConnInterfaceStateInternal
    {
    EInterfaceRestarting = 0x100
    };


#include <es_enum_internal.inl>

#endif // __ES_ENUM_INTERNAL_H__