mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.82k stars 1.65k forks source link

Possible to add an Event listener for all kinds of events? #124

Open sunng87 opened 10 years ago

sunng87 commented 10 years ago

I found the netty-socketio API requires an event name to register listener on a namespace. That means all event type must be predefined. In my development, I hope there can be a generic event listener that accepts all event packets and pass event name to listener. In other words, just leave the event routing task to user space.

mrniko commented 10 years ago

Not a problem. I'll add a generic listener

sunng87 commented 10 years ago

Thanks! :+1:

jvous commented 10 years ago

Any new development on this feature?

leonarrd commented 7 years ago

Is there any demo code or where I can find the implementation code about this issue?