[undertow-dev] Websockets
Stuart Douglas
sdouglas at redhat.com
Mon Apr 15 07:54:34 EDT 2013
The XNIO API allows you to send and receive messages using XNIO StreamSinkChannel and StreamSourceChannel.
The high level API just provides an abstraction over that that is easier to use but less flexible, such as allowing you to just send/receive text frames as Strings. The JSR-356 provides an API that performs basically the same function, with some extra stuff such as annotated endpoints and encoders and decoders thrown in.
----- Original Message -----
> From: "Heiko Braun" <hbraun at redhat.com>
> To: "Stuart Douglas" <stuart.w.douglas at gmail.com>
> Cc: undertow-dev at lists.jboss.org
> Sent: Friday, 12 April, 2013 5:04:46 PM
> Subject: Re: [undertow-dev] Websockets
>
>
> What's the difference between the XNIO and the high level one?
>
> On Apr 12, 2013, at 2:36 AM, Stuart Douglas < stuart.w.douglas at gmail.com >
> wrote:
>
>
>
> I think 3 API's is a bit excessive, and we should just have our XNIO
> Channel based low level API, and the JSR-356 API.
>
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
More information about the undertow-dev
mailing list