Annotation Type SocketEvent


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Inherited
    public @interface SocketEvent
    Annotate a method to be invoked when a socket event comes in. The method should have one argument which can either be of type Event or the expected socket data class.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String socketId  
    • Element Detail

      • socketId

        java.lang.String socketId
        Default:
        ""