Open GoogleCodeExporter opened 8 years ago
Add
# Generator for unique client ids
eventservice.connection.id.generator=de.novanic.eventservice.service.connection.
id.SessionExtendedConnectionIdGenerator
to eventservice.properties file
This allows you to have multiple conversations with the same HttpSession and
Domain.
I hope this can help
Regards
Original comment by vlui...@tiscali.it
on 16 Nov 2013 at 10:07
Thanks for your response
Yes, that's right.i have added the above line in eventservice.properties file
but still i am facing the issue.
In my case ,each tab will have unique request and accepts unique response from
server.
Tab1 should not receive string "Hi" and tab2 should not receive string "Hello"
How do i filter events based on client request?
Original comment by susmitha...@gmail.com
on 18 Nov 2013 at 5:43
Attachments:
If I understand correctly, then you should open two conversations with two
DOMAINS, in order to take separate conversations and then the server side
distributing selectively and separately by the two domains the respective
events.
To better understand your problem I would need to know more.
Regards
Vittorio
Original comment by vlui...@tiscali.it
on 18 Nov 2013 at 9:52
No,Please do refer the first line in Client Snippet.
Here,I have created a domain "my_domain" and registered both the events in same
domain.
I have also tried USER_SPECIFIC_EVENTS by setting domain
Domain DOMAIN=DomainFactroy.USER_SPECIFIC_DOMAIN
Server Snippet:
getEventExecutorService().addEventUserSpecific(new MyEvent(line));
But, in this case i didn't receive events from server.
I have attached sample implementation code for your reference.
Regards,
Original comment by susmitha...@gmail.com
on 20 Nov 2013 at 5:10
Attachments:
Original issue reported on code.google.com by
susmitha...@gmail.com
on 15 Nov 2013 at 12:50