diff -r 630d2f34d719 -r 07a122eea281 wapstack/wapmessageapi/sws/WapFullySpecCLPush.h --- a/wapstack/wapmessageapi/sws/WapFullySpecCLPush.h Tue Aug 31 16:23:08 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -// Copyright (c) 2003-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: -// - -#ifndef __CSWSWAPFULLYSPECCLPUSHSERVICE_H__ -#define __CSWSWAPFULLYSPECCLPUSHSERVICE_H__ - -// Include definitions of ECOM interfaces for the WAP Messaging API -#include -#include "WapMessageApiAgent.h" - -class CSWSWapFullySpecCLPushService : public CWapFullySpecCLPushService -/** -The WAP Messaging API, SWS WAP Stack binding. Implementation of the fully-specified connectionless push API. -@internalComponent -@released -@since v8.0 -*/ -{ -public: - static CSWSWapFullySpecCLPushService* NewL(); - virtual ~CSWSWapFullySpecCLPushService(); - -public: - virtual TInt Connect(const TDesC8& aRemoteHost, - Wap::TPort aRemotePort, - Wap::TBearer aBearer, - TBool aSecure, - TInetAddr aInetAddr); - virtual TInt Connect(const TDesC8& aRemoteHost, - Wap::TPort aRemotePort, - Wap::TBearer aBearer, - TBool aSecure); - virtual TInt AwaitPush(TDes8& aPushHeaders, - TDes8& aPushBody, - TPckgBuf& aPushIdPckg, - TRequestStatus& aReqStatus); - virtual void CancelAwaitPush(); - virtual TInt GetLocalPort(Wap::TPort& aPort); - virtual TInt GetLocalAddress(HBufC8*& aLocalHost); - -private: - CSWSWapFullySpecCLPushService(); - void ConstructL(); - -private: - /** - the agent instance which actually handles wsp PDU. - */ - CWspMessageApiAgent* iAgent; - /** - the wsp status in received wsp PDU. - */ - TWSPStatus iWspStatus; -}; - - -#endif // __CSWSWAPFULLYSPECCLPUSHSERVICE_H__