diff -r bb2423252ea3 -r c1029e558ef5 networksecurity/ipsec/te_ipsec_selector_confilict/inc/te_selectorconflict.h --- a/networksecurity/ipsec/te_ipsec_selector_confilict/inc/te_selectorconflict.h Wed Sep 15 13:53:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +0,0 @@ -// 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 the License "Symbian Foundation License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// Connection Test Step Header -// -// - -/** - @file -*/ -#ifndef __TEF_IPSEC_SELECTORCONFLICT_H__ -#define __TEF_IPSEC_SELECTORCONFLICT_H__ - -#include -#include -#include -//local includes here -#include "te_IPSec_Load_Policy_Base.h" - -//--------------------------------------------------------------------------- -class CT_SelectorConflict : public CTimer -{ -public: - ~CT_SelectorConflict(); - static CT_SelectorConflict* NewL(int aIapId); - void RecvUDP(); - void SendTcpPacketL(); - void RecvTcpPacketL(); - void ConnectL(TInt aPort, TPtrC16 aIpDAddr); - void Close(); - void delay(CT_IPSec_Load_Policy_Base *aBase, TInt KDelayTime); - TBool GetKeepAlive(); - void SetKeepAlive( TBool aKeepAlivetimeout); - void start(int aIapId); - -private: - CT_SelectorConflict(); - void ConstructL(int aIapId); - - void RunL(); - void DoCancel(); - TInt RunError(TInt /*aError*/); -private: - RSocketServ iSs; - RSocket iSock; - RSocket iRecvSock; - RConnection iConn; - TBuf8<256> iRecvBuf; - TSockAddr iSenderAddr; - TSockXfrLength iBytesRead; - TBool iKeepalive; - CT_IPSec_Load_Policy_Base *iPtrKeepAlive; -public : - static CT_SelectorConflict *iSelfPtr; -}; - -#endif// __TEF_IPSEC_SELECTORCONFLICT_H__ -