Closed GoogleCodeExporter closed 8 years ago
but how the user should be informed, when he hasn´t registered any listener?
the only issue I see, is that the user-specific events are not well documented.
you
just have to add a listener for the 'null' domain:
RemoteEventServiceFactory.getInstance().getRemoteEventService().addListener(null
, new
RemoteEventListener() {
public void apply(Event anEvent) {
// all user-specific events
}
});
Original comment by dem...@googlemail.com
on 22 Oct 2009 at 4:22
Ah, that explains it - no bug then. I agree it could be better documented ;)
I ended up hacking my own solution - basically a
addUserSpecificListener(RemoteListener) method allowing me to register for
those events.
Thanks for the reply anyways.
Original comment by magnus.o...@gmail.com
on 22 Oct 2009 at 6:34
Puh, I thought that is an extreme critical bug since version 1.0.2 at the first
moment. ;-) Thanks.
Yes, it should be better documented. Originally user-specific events were
introduced
to send events only to defined users of the domain. The Null-Domain is fully
supported since version 1.0.2 and should be definitely better documented. The
next
step is to introduce a new method like addUserSpecificListener as suggested
before.
Thanks! :-)
Original comment by sven.strohschein@googlemail.com
on 23 Oct 2009 at 4:59
The documentation of the NULL-/user-specific domain was improved in the trunk
version (1.2).
Original comment by sven.strohschein@googlemail.com
on 29 Jan 2011 at 2:18
Original issue reported on code.google.com by
magnus.o...@gmail.com
on 19 Oct 2009 at 7:27