connectivitylayer/isce/isicommunicationmanager_dll/inc/isiindicationhandler.h
changeset 9 8486d82aef45
parent 7 fa67e03b87df
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    72         * Destructor
    72         * Destructor
    73         */
    73         */
    74         ~DISIIndicationHandler();
    74         ~DISIIndicationHandler();
    75 
    75 
    76         /*
    76         /*
    77         * Multicast and Subscribe must be called in same DFC thread.
    77         * NOTE! Multicast and Subscribe must be called in same DFC thread.
    78         * If not then take a deep look at synchronization.
    78         * If not then take a deep look at synchronization.
       
    79         * Assumption: executed in a thread safe manner.
       
    80         * @param aIndication, indication to be multicasted
    79         */
    81         */
    80         void Multicast( TDes8& aIndication );
    82         void Multicast( const TDesC8& aIndication );
    81 
    83 
    82         /*
    84         /*
    83         * Multicast and Subscribe must be called in same DFC thread.
    85         * NOTE! Multicast and Subscribe must be called in same DFC thread.
    84         * If not then take a deep look at synchronization.
    86         * If not then take a deep look at synchronization.
       
    87         * Assumption: executed in a thread safe manner.
       
    88         * @param aSubscriptionReq, subscription message
    85         */
    89         */
    86         void Subscribe( TDes8& aSubscriptionReq );
    90         void Subscribe( const TDesC8& aSubscriptionMessage );
    87 
       
    88 
       
    89 
    91 
    90     private:
    92     private:
    91 
    93 
    92         void AddIndication( TServerIdLink& aServerLink, const TUint8 aIndication, const TUint16 aObjId );
    94         void AddIndication( TServerIdLink& aServerLink, const TUint8 aIndication, const TUint16 aObjId );
    93 
    95 
   118         // Owned
   120         // Owned
   119         SDblQue         iDeviceQ;
   121         SDblQue         iDeviceQ;
   120         SDblQue         iExternalDeviceQ;
   122         SDblQue         iExternalDeviceQ;
   121         // Not owned
   123         // Not owned
   122         MISIObjectRouterIf* iRouter;
   124         MISIObjectRouterIf* iRouter;
       
   125         TBool           iSubscriberIsAnExternalDevice;
   123 
   126 
   124     };
   127     };
   125 
   128 
   126 #endif /* __ISIINDICATIONHANDLER_H__ */
   129 #endif /* __ISIINDICATIONHANDLER_H__ */