--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/realtimenetprots/sipfw/SIP/ConnectionMgr/inc/CSenderTcp.h Tue Feb 02 01:03:15 2010 +0200
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2007-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 : CSenderTcp.h
+* Part of : ConnectionMgr
+* Version : SIP/5.1
+*
+*/
+
+
+
+
+/**
+ @internalComponent
+*/
+#ifndef CSENDERTCP_H
+#define CSENDERTCP_H
+
+#include "CSender.h"
+#include <e32base.h>
+
+class COwnerSettingsList;
+
+
+class CSenderTcp : public CSender
+ {
+public:
+ static CSenderTcp* NewL(MContext& aContext, COwnerSettingsList& aSettingsList);
+ static CSenderTcp* NewLC(MContext& aContext, COwnerSettingsList& aSettingsList);
+ ~CSenderTcp();
+
+ TBool SendL(const TSIPTransportParams& aTransportParams,
+ CSIPMessage& aMessage,
+ const TInetAddr& aAddr,
+ TUint aOrigTransport,
+ TRequestStatus& aStat,
+ TBool aStore,
+ TBool aForceUDP);
+ void SendL(const TSIPTransportParams& aTransportParams,
+ CSIPMessage& aMessage,
+ TRequestStatus& aStat);
+ void SendNextL();
+
+ COutgoingData* StoredData();
+ COutgoingData* Data();
+
+private:
+ CSenderTcp(MContext& aContext, COwnerSettingsList& aSettingsList);
+ void EncodeAndSendL(const TInetAddr& aAddr);
+ TBool HandleFirstSendL(const TSIPTransportParams& aTransportParams,
+ CSIPMessage& aMessage,
+ const TInetAddr& aAddr,
+ TUint aOrigTransport,
+ TRequestStatus& aStat,
+ TBool aStore);
+ void DoSend( const TDesC8& aData );
+
+ };
+
+#endif // end of CSENDERTCP_H
+
+// End of File