datacommsserver/esockserver/inc/ss_connLegacy.h
branchRCL_3
changeset 24 00c6709d25aa
parent 1 21d2ab05f085
child 25 9d7ce34704c8
equal deleted inserted replaced
23:cbb19216b74d 24:00c6709d25aa
    45 
    45 
    46 namespace AllInterfaceNotificationActivity
    46 namespace AllInterfaceNotificationActivity
    47 {
    47 {
    48 class TEnqueueNotification;
    48 class TEnqueueNotification;
    49 class TSendErrorToConnection;
    49 class TSendErrorToConnection;
       
    50 }
       
    51 
       
    52 namespace ConnActivities
       
    53 {
       
    54 class CAllInterfaceNotificationActivity;
    50 }
    55 }
    51 
    56 
    52 namespace EnumerateConnectionsActivity
    57 namespace EnumerateConnectionsActivity
    53 {
    58 {
    54 class TQueryTierStatus;
    59 class TQueryTierStatus;
    82 	friend class EnumerateConnectionsActivity::TQueryTierStatus;
    87 	friend class EnumerateConnectionsActivity::TQueryTierStatus;
    83 	friend class EnumerateConnectionsActivity::TCacheConnectionInfo;
    88 	friend class EnumerateConnectionsActivity::TCacheConnectionInfo;
    84 	friend class EnumerateConnectionsActivity::TCompleteClient;
    89 	friend class EnumerateConnectionsActivity::TCompleteClient;
    85 	friend class AllInterfaceNotificationActivity::TEnqueueNotification;
    90 	friend class AllInterfaceNotificationActivity::TEnqueueNotification;
    86 	friend class AllInterfaceNotificationActivity::TSendErrorToConnection;
    91 	friend class AllInterfaceNotificationActivity::TSendErrorToConnection;
       
    92 	friend class ConnActivities::CAllInterfaceNotificationActivity;
    87 	friend class ConnStates::TNoTagOrCancelAllInterfaceWorker;
    93 	friend class ConnStates::TNoTagOrCancelAllInterfaceWorker;
    88 	friend class ConnStates::TCancelAllInterfaceNotificationWorker;
    94 	friend class ConnStates::TCancelAllInterfaceNotificationWorker;
    89 
    95 
       
    96 public:
       
    97 	enum { KIPProtoConnectionProviderFactoryUid = 0x10281DD3 };
    90 public: //So that friends of CConnection (transitions) can access it
    98 public: //So that friends of CConnection (transitions) can access it
    91 	void CompleteAttachL(TSelectionPrefs& aPrefs);
    99 	void CompleteAttachL(TSelectionPrefs& aPrefs);
    92 	void CancelServiceChangeNotification(const Den::RSafeMessage& aMessage);
   100 	void CancelServiceChangeNotification(const Den::RSafeMessage& aMessage);
    93     void SubConnectionEvent(const TSubConnectionEvent& aSubConnectionEvent);
   101     void SubConnectionEvent(const TSubConnectionEvent& aSubConnectionEvent);
    94 
   102 
   153 protected:
   161 protected:
   154 	ADataMonitoringProvider* FetchConnDataMonitoringProvider() const;
   162 	ADataMonitoringProvider* FetchConnDataMonitoringProvider() const;
   155 	ADataMonitoringProvider* FetchSubConnDataMonitoringProvider() const;
   163 	ADataMonitoringProvider* FetchSubConnDataMonitoringProvider() const;
   156 
   164 
   157 	//global notifications
   165 	//global notifications
   158 	void InterfaceStateChangeNotification(TDesC8& aInfo);
       
   159 	void RequestServiceChangeNotificationL(const Den::RSafeMessage& aMessage);
   166 	void RequestServiceChangeNotificationL(const Den::RSafeMessage& aMessage);
   160     void ControlL(TUint aOptionName, TUint aMessageId);
   167     void ControlL(TUint aOptionName, TUint aMessageId);
   161 
   168 
   162 	// Underlying implementations of individual RConnection methods relating to subconnections
   169 	// Underlying implementations of individual RConnection methods relating to subconnections
   163     void AllSubConnectionNotificationL();
   170     void AllSubConnectionNotificationL();
   210 
   217 
   211 	// AllInterfaceNotification support
   218 	// AllInterfaceNotification support
   212 	RMessage2 iAllInterfaceNotificationMessage;
   219 	RMessage2 iAllInterfaceNotificationMessage;
   213 	TInterfaceChangeQueue iNotificationQueue;
   220 	TInterfaceChangeQueue iNotificationQueue;
   214   	Messages::TNodeId iAllInterfaceNotificationWorker;
   221   	Messages::TNodeId iAllInterfaceNotificationWorker;
   215   	
       
   216 protected:
       
   217 	static const TAnyFn iInterfaceVTableF[];
       
   218 	};
   222 	};
   219 
   223 
   220 
   224 
   221 } //namespace ESock
   225 } //namespace ESock
   222 
   226