-
Notifications
You must be signed in to change notification settings - Fork 972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to be able to listen to all "other" events #243
Comments
Unfortunately, there is no way to do that for now. Basically, you need to know what kind of events server sends. |
Yes, there is. Other socket.io java clients can do that. Can you seriously try it? |
What I meant is this library doesn't support "oher" events. And I have no though to do so for now since JS client also doesn't. |
I am also in need for a feature like that! |
Yes. I need to listen all events as well. |
Hi, JS client has .onAny() now, maybe you'll reconsider adding something like that? 🙂 |
I really this onAny too! |
Syntax: ```java socket.onAnyIncoming(new Emitter.Listener() { @OverRide public void call(Object... args) { // ... } }); socket.onAnyOutgoing(new Emitter.Listener() { @OverRide public void call(Object... args) { // ... } }); ``` Related: - socketio/engine.io-client-java#99 - #243 - #475
Here we go: socket.onAnyIncoming(new Emitter.Listener() {
@OverRide
public void call(Object... args) {
// ...
}
}); Included in version |
is it possible to track all possible events by using 1x version? because the latest version is not able to connect to the server due to incompatibility . can i achive onAnyIncoming in version 1.0.1 |
@irshadir7 hi! I will backport the changes in the 1.x branch, let me check. |
Hi ,
It would be very helpful. I am waiting for the update
Thanks
…On Wed, Dec 7, 2022 at 3:25 PM Damien Arrachequesne < ***@***.***> wrote:
@irshadir7 <https://github.com/irshadir7> hi! I will backport the changes
in the 1.x branch, let me check.
—
Reply to this email directly, view it on GitHub
<#243 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI43KEY5YUEOYFYJTX7IU7TWMBX2HANCNFSM4BTSR43Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello Team,
It would be very helpful if you can implement onAnyIncoming in Version 1x
very soon. I have a deadline to complete my project.
Thanks
On Wed, Dec 7, 2022 at 3:42 PM Irshad Madappattu ***@***.***>
wrote:
… Hi ,
It would be very helpful. I am waiting for the update
Thanks
On Wed, Dec 7, 2022 at 3:25 PM Damien Arrachequesne <
***@***.***> wrote:
> @irshadir7 <https://github.com/irshadir7> hi! I will backport the
> changes in the 1.x branch, let me check.
>
> —
> Reply to this email directly, view it on GitHub
> <#243 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AI43KEY5YUEOYFYJTX7IU7TWMBX2HANCNFSM4BTSR43Q>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Syntax: ```java socket.onAnyIncoming(new Emitter.Listener() { @OverRide public void call(Object... args) { // ... } }); socket.onAnyOutgoing(new Emitter.Listener() { @OverRide public void call(Object... args) { // ... } }); ``` Related: - socketio/engine.io-client-java#99 - socketio/socket.io-client-java#243 - socketio/socket.io-client-java#475
After a series of "on event_a", "on event_b", I need to listen to other events that have not been defined by my code.
This is very important for troubleshooting. Sometimes I expect the server side to send me an event but it sends me another event which I haven't listened to. I don't know what this event is because I can't listened to unexpected "other" events.
The text was updated successfully, but these errors were encountered: