73 |
75 |
74 /* |
76 /* |
75 * Multicast and Subscribe must be called in same DFC thread. |
77 * Multicast and Subscribe must be called in same DFC thread. |
76 * If not then take a deep look at synchronization. |
78 * If not then take a deep look at synchronization. |
77 */ |
79 */ |
78 //void Multicast( TDes8& aIndication ); |
80 void Multicast( TDes8& aIndication ); |
79 |
81 |
80 /* |
82 /* |
81 * Multicast and Subscribe must be called in same DFC thread. |
83 * Multicast and Subscribe must be called in same DFC thread. |
82 * If not then take a deep look at synchronization. |
84 * If not then take a deep look at synchronization. |
83 */ |
85 */ |
84 TInt Subscribe( TDes8& aSubscriptionReq ); |
86 void Subscribe( TDes8& aSubscriptionReq ); |
|
87 |
|
88 |
85 |
89 |
86 private: |
90 private: |
87 |
91 |
88 void AddIndication( TServerIdLink& aServerLink, const TUint8 aIndication, const TUint16 aObjId ); |
92 void AddIndication( TServerIdLink& aServerLink, const TUint8 aIndication, const TUint16 aObjId ); |
89 |
93 |
90 void AddSubscriber( TIndicationLink& aIndicationLink, const TUint16 aObjId ); |
94 void AddSubscriber( TIndicationLink& aIndicationLink, const TUint16 aObjId ); |
91 |
95 |
92 void AddServer( TDeviceIdLink& aDeviceLink, const TUint32 aResourceId, const TUint8 aIndication, const TUint16 aObjId ); |
96 void AddServer( TDeviceIdLink& aDeviceLink, const TUint32 aResourceId, const TUint8 aIndication, const TUint16 aObjId ); |
93 |
97 |
|
98 void AddServer( TDeviceIdLink& aDeviceLink, const TUint32 aResourceId ); |
|
99 |
94 TDeviceIdLink* GetDeviceLink( const TUint8 aDeviceId ); |
100 TDeviceIdLink* GetDeviceLink( const TUint8 aDeviceId ); |
|
101 |
|
102 TDeviceIdLink* GetExternalDeviceLink( const TUint8 aDeviceId ); |
95 |
103 |
96 TServerIdLink* GetServerLink( TDeviceIdLink& aDeviceLink, const TUint32 aResourceId ); |
104 TServerIdLink* GetServerLink( TDeviceIdLink& aDeviceLink, const TUint32 aResourceId ); |
97 |
105 |
98 TIndicationLink* GetIndicationLink( TServerIdLink& aServerLink, const TUint8 aIndication ); |
106 TIndicationLink* GetIndicationLink( TServerIdLink& aServerLink, const TUint8 aIndication ); |
99 |
107 |