pwestlake
04-16-2008, 05:20 PM
I would like to filter events based on client criteria. I have implemented a MetaDataAdapter as described in http://www.lightstreamer.com/vb/showthread.php?t=65&highlight=isSelected
This works. However there is only one MetaDataAdapter per lightstreamer adapter. So the same filter criteria is used for each client that has subscribed. I am new to lightstreamer so I think I am missing something, but how do I configure this so that for example: client 1 only receives events for changes to account 1 and client 2 only receives events for changes to account 2?
The isSelected() method of the MetaDataAdapter has a user parameter, but this is always null!
Thanks,
Phil
This works. However there is only one MetaDataAdapter per lightstreamer adapter. So the same filter criteria is used for each client that has subscribed. I am new to lightstreamer so I think I am missing something, but how do I configure this so that for example: client 1 only receives events for changes to account 1 and client 2 only receives events for changes to account 2?
The isSelected() method of the MetaDataAdapter has a user parameter, but this is always null!
Thanks,
Phil