-
October 17th, 2012, 11:02 AM
#2
Hi salat,
First of all note that the subscribe method is only called when the first client subscribes to a certain item while the unsubscribe method is only called when the last client unsubscribes from the same item.
As an example:
Client 1 subscribes to Item A
subscribe A is called on the adapter
Client 2 subscribes to Item A
Client 1 unsubscribes from item A
Client 2 unsubscribes from item A
unsubscribe A is called on the adapter
To track clients subscriptions you need to implement a Metadata Adapter. You can use NotifyNewTables and NotifyTableClose (note that you need to enable WantsTableNotifications for such methods to be called).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:09 AM.
Bookmarks