users@websocket-spec.java.net

[jsr356-users] Re: MessageHandler Pong?

From: Danny Coward <danny.coward_at_oracle.com>
Date: Thu, 15 Nov 2012 14:39:39 -0800

On 11/15/12 10:33 AM, Joakim Erdfelt wrote:
> In the simplification of the MessageHandler (+1, new one is much
> easier to work with) it seems we lost the ability handle Pong payloads.
> Was that intentional?

Hi Joakim,

You can still handle Pong payloads in the simplified version: it
includes a new PongMessage interface, which is one of the allowable
types for MessageHandler<T>.

HTH,

- Danny
>
> --
> Joakim Erdfelt <joakim_at_intalio.com <mailto:joakim_at_intalio.com>>
>


-- 
<http://www.oracle.com> 	*Danny Coward *
Java EE
Oracle Corporation