Annotation Interface OnEvent


@Target(METHOD) @Retention(RUNTIME) public @interface OnEvent
Annotation that defines Event handler. The value is required, and represents event name. Arguments in method: - SocketIOClient (optional) - AckRequest (optional) - Event data (optional)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Event name
  • Element Details

    • value

      String value
      Event name
      Returns:
      value