Created by: IlyaGulya
Added emitEvent methods, used to emit events without arguments.
Activity
Please register or sign in to reply
Created by: IlyaGulya
Added emitEvent methods, used to emit events without arguments.
Merge details
How is this different from emit?
Created by: IlyaGulya
emit(String, Acknowledge) and emit(String) sends strings, not events. (Message type 3 instead of 5)
Couple things then, call the method emit. No need to qualify it with a type, since the signatures do not match.
Also, fix the formatting to match mine. Spaces, not tabs. Thanks!
Also, is there a need for the try/catch? What throws here?
Created by: IlyaGulya
But if i call method emit it will conflict with emit methods for strings. Yep, try/catch is needed. Here throws JSONException.
Created by: IlyaGulya
Any comments? :)
Sorry, missed this.
That's fine, I prefer it to be a method overload and called emit. They take different arguments, no? It should work fine.
Created by: IlyaGulya
Of course method overload would be better, but there is already methods with the same arguments
Oh, I see now.
Merged by: koush at 2013-11-28 20:31:11 UTC
closed