supl/locationsuplfw/gateway/inc/epos_csuplsessionrequest.h
changeset 40 16118e24b93b
parent 32 b12ea03c50a3
equal deleted inserted replaced
33:834e27cad510 40:16118e24b93b
    31 // CONSTANT DECLARATIONS
    31 // CONSTANT DECLARATIONS
    32 
    32 
    33 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    34 class MSuplSessionObserver;
    34 class MSuplSessionObserver;
    35 class MNetInitiatedObserver;
    35 class MNetInitiatedObserver;
       
    36 class CSuplSessionBase;
       
    37 class CSuplSessionManager;
    36 // CLASS DECLARATION
    38 // CLASS DECLARATION
    37 
    39 
    38 /**
    40 /**
    39 *    Active object implementing a position request cycle. Handles
    41 *    Active object implementing a position request cycle. Handles
    40 *    activities such as controlling logging and verifying privacy.
    42 *    activities such as controlling logging and verifying privacy.
   101 		void ProtocolHUnloaded();
   103 		void ProtocolHUnloaded();
   102 		void MakeLocationConversionRequestL( CSuplSessionBase* aSuplSessn,TGeoCellInfo& aCellInfo );
   104 		void MakeLocationConversionRequestL( CSuplSessionBase* aSuplSessn,TGeoCellInfo& aCellInfo );
   103 		        
   105 		        
   104 		void CancelLocationConversionRequest();
   106 		void CancelLocationConversionRequest();
   105 		
   107 		
       
   108 		void ReIssueRequestL();
   106     protected:  // From CActive
   109     protected:  // From CActive
   107 
   110 
   108         void RunL();
   111         void RunL();
   109         TInt RunError(TInt aError);
   112         TInt RunError(TInt aError);
   110         void DoCancel();
   113         void DoCancel();
   132             ESuplForwardMessage,
   135             ESuplForwardMessage,
   133             ESuplStartTriggerRequest,            
   136             ESuplStartTriggerRequest,            
   134             ESuplStopTriggerRequest,
   137             ESuplStopTriggerRequest,
   135             ESuplTriggerFiredNotifyRequest,
   138             ESuplTriggerFiredNotifyRequest,
   136             ESuplLocationConversionRequest,
   139             ESuplLocationConversionRequest,
   137             ESuplCancelLocationConversionRequest
   140             ESuplCancelLocationConversionRequest,
   138             };
   141 			ESuplWaitingToRetrySession,
       
   142 			ESuplRetryingSession
       
   143 		    };
   139      
   144      
   140 	 TSuplRequestStage           iRequestPhase;
   145 	 TSuplRequestStage           iRequestPhase;
   141      HBufC8*                     iPositionBuffer;
   146      HBufC8*                     iPositionBuffer;
   142      MSuplSessionObserver* 	     iObserver;
   147      MSuplSessionObserver* 	     iObserver;
   143      MNetInitiatedObserver*		 iNetObserver;
   148      MNetInitiatedObserver*		 iNetObserver;
   144   	 CSuplSessionManager& 		 iSessnMgr;
   149   	 CSuplSessionManager& 		 iSessnMgr;
   145 	 CSuplSessionBase*			 iSuplSessn;
   150 	 CSuplSessionBase*			 iSuplSessn;
   146 	 TInt iHandle;
   151 	 TInt iHandle;
       
   152 
       
   153 	 CSuplSessionBase* iParamSuplSessn;
       
   154 	 TInt iParamSetCaps;
       
   155 	 TInt iParamReqId;
       
   156 	 TBool iParamFallback;
       
   157 	 TBool iParamFirstReq;
       
   158 	 TBool iParamExtendedQopUsed;
       
   159 	 TSuplTerminalQop iParamQop;
       
   160 	 HBufC* iParamExtendedFallback;
   147     };  
   161     };  
   148 
   162 
   149 #endif  // __CSuplSessionRequest_H__
   163 #endif  // __CSuplSessionRequest_H__
   150 
   164 
   151 // End of File
   165 // End of File