Selector API [was Re: Java API for SCTP]
Alan Bateman
Alan.Bateman at Sun.COM
Thu Apr 30 11:48:07 PDT 2009
Marc Petit-Huguenin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alan Bateman wrote:
> [...]
>
>> As regards non-blocking - yes, it is integrated with the
>> multiplexing/Selector API. For now the implementation is making use of
>> an internal API for this. In the medium term we hope to define a
>> provider-specific API to allow other selectable channel types to
>> register with the Selector.
>>
>
> What are the plans for this API?
>
The SCTP API is in jdk7 since b56 and as its implementation is in the
sun.nio.ch package it means it can use the internal interface to
register without requiring a public/supported interface. I would still
like to introduce a supported interface to allow other channel
implementations integrate, it just hadn't had sufficient priority to
bring it to the finish line. So can you say how you would use such an
interface?
-Alan.
More information about the nio-discuss
mailing list