@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,FIELD,PARAMETER})
@Documented
public @interface RealTime
- Author:
- bessem
a method annotated with @RealTime
will be called over websocket (or one of the
fallback protocol list if sockjs is used:
['websocket','xhr-polling','jsonp-polling', 'xdr-polling', 'xdr-streaming', 'xhr-streaming', 'iframe-xhr-polling', 'iframe-eventsource', 'iframe-htmlfile' ])
if the method has no return (void) then it will be
a one way call, if not we will have a request-response
realTime window.