users@websocket-spec.java.net

[jsr356-users] Re: _at_WebSocketMessage and return types on PongMessage

From: Jitendra Kotamraju <jitendra.kotamraju_at_oracle.com>
Date: Thu, 14 Feb 2013 16:50:38 -0800

On 02/14/2013 10:36 AM, Joakim Erdfelt wrote:
> I would seem that having a return type on a method annotated with
> @WebSocketMessage with a message format parameter of PongMesage makes
> little sense.
Yes, it is not useful. But someone want to send a message, it doesn't
preclude from doing so. Otherwise, spec needs to mention this case
explicitly.
>
> Seems like return type on PongMessage is void, always, right?
>
> --
> Joakim Erdfelt <joakim_at_intalio.com <mailto:joakim_at_intalio.com>>
> webtide.com <http://www.webtide.com/>
> Developer advice, services and support
> from the Jetty & CometD experts
> eclipse.org/jetty <http://eclipse.org/jetty/> - cometd.org
> <http://cometd.org/>