datacommsserver/esockserver/inc/ss_sapshim.h
changeset 2 dee179edb159
parent 0 dfb7c4ff071f
child 9 77effd21b2c9
equal deleted inserted replaced
1:21d2ab05f085 2:dee179edb159
   212     inline TBool NoBearerGuard() const;
   212     inline TBool NoBearerGuard() const;
   213     inline void SetNoBearerGuard();
   213     inline void SetNoBearerGuard();
   214     inline void ClearNoBearerGuard();
   214     inline void ClearNoBearerGuard();
   215 #endif
   215 #endif
   216 	void NoBearerCompletion();
   216 	void NoBearerCompletion();
       
   217 	inline void SetFlowParams(const TFlowParams& aFlowParams);
       
   218 	inline TBool FlowParamsInitialised() const;
   217 
   219 
   218 private:
   220 private:
   219 	CServProviderBase* iProvider;
   221 	CServProviderBase* iProvider;
   220 	//CHostResolver specific workaround for now
   222 	//CHostResolver specific workaround for now
   221 	MUpperControl* iHostResolverNotify; //since CHostResolver specific
   223 	MUpperControl* iHostResolverNotify; //since CHostResolver specific
   231 	TUint iIsStopped:1;				// DataClientStop has been received.
   233 	TUint iIsStopped:1;				// DataClientStop has been received.
   232 #ifdef SYMBIAN_NETWORKING_UPS
   234 #ifdef SYMBIAN_NETWORKING_UPS
   233 	TBool iNoBearerRunning:1;		// NoBearer message has been issued to SCPR
   235 	TBool iNoBearerRunning:1;		// NoBearer message has been issued to SCPR
   234 	TBool iShuttingDown:1;
   236 	TBool iShuttingDown:1;
   235 #endif
   237 #endif
   236 
   238 	TBool iFlowParamsInitialised:1; // whether iFlowParams has been initialised or not
   237 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   239 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   238     const CSAPSetOpt *iProtocolOptions;
   240     const CSAPSetOpt *iProtocolOptions;
   239 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   241 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   240 	
   242 	
   241 	// Reference to the protocol as managed by the ProtocolManager
   243 	// Reference to the protocol as managed by the ProtocolManager
   247 
   249 
   248 inline CServProviderBase* CTransportFlowShim::Provider()
   250 inline CServProviderBase* CTransportFlowShim::Provider()
   249 	{
   251 	{
   250 	return iProvider;
   252 	return iProvider;
   251 	}
   253 	}
       
   254 
       
   255 inline void CTransportFlowShim::SetFlowParams(const TFlowParams& aFlowParams)
       
   256     {
       
   257     iFlowParams = aFlowParams;
       
   258     iFlowParamsInitialised = ETrue;
       
   259     }
       
   260 
       
   261 inline TBool CTransportFlowShim::FlowParamsInitialised() const
       
   262     {
       
   263     return iFlowParamsInitialised;
       
   264     }
   252 
   265 
   253 #ifdef SYMBIAN_NETWORKING_UPS
   266 #ifdef SYMBIAN_NETWORKING_UPS
   254 
   267 
   255 //
   268 //
   256 // CTransportFlowShim inline methods
   269 // CTransportFlowShim inline methods