Farrukh Najmi
unread,Apr 23, 2009, 11:12:10 PM4/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to miha...@gmail.com, smartgwt-...@googlegroups.com
Hi Mihai,
I am wondering why the TopicSubscriber.onEvent method needs to have a Subscription as its first parameter:
public void onEvent(Subscription subscription, T event);
Would it not be simpler to just have the following (as it was originally):
public void onEvent(String topic, T event);
The current signature (listed first above) requires an extra step in onEvent methods to get the topic for comparison.
Just curious what your thought was on that? Thanks.
--
Regards,
Farrukh