diff -r 000000000000 -r 8e480a14352b messagingfw/alwaysonline/AlwaysOnlineManager/inc/AlwaysOnlineManagerServerSession.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/alwaysonline/AlwaysOnlineManager/inc/AlwaysOnlineManagerServerSession.h Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,84 @@ +/* +* Copyright (c) 2002 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: AlwaysOnline server session +* +*/ + + +#ifndef __ALWAYSONLINEMANAGERSERVERSESSION_H__ +#define __ALWAYSONLINEMANAGERSERVERSESSION_H__ + +#include +#include +#include + +//forward declarations +class CAlwaysOnlineManagerServer; + + +/** +* CAlwaysOnlineManagerServerSession +* +* Server side session class +*/ +class CAlwaysOnlineManagerServerSession : public CSession2 + { +public: + /** + * + **/ + static CAlwaysOnlineManagerServerSession* NewL( /*RThread &aClient,*/ CAlwaysOnlineManagerServer * aServer ); + + /** + * + **/ + CAlwaysOnlineManagerServerSession( /*RThread& aClient*/ ); + + /** + * + **/ + void ConstructL( CAlwaysOnlineManagerServer* aServer ); + + /** + * + **/ + virtual ~CAlwaysOnlineManagerServerSession(); + + + /** + * + **/ + virtual void ServiceL( const RMessage2 &aMessage ); + + /** + * + **/ + void DispatchMessageL( const RMessage2 &aMessage ); + + /** + * PanicClient + * Panics client if something goes wrong + * @since Series60 3.0 + * @param aMessage, panic message + * @param aPanic, panic code + **/ + void PanicClient( const RMessage2& aMessage, TInt aPanic ) const; + +private: + CAlwaysOnlineManagerServer *iAOMServer; // pointer to owning server + + }; + +#endif +//EOF