com.sun.sgs.impl.nio
Class ReactiveAsyncChannelProvider
java.lang.Object
com.sun.sgs.nio.channels.spi.AsynchronousChannelProvider
com.sun.sgs.impl.nio.AsyncProviderImpl
com.sun.sgs.impl.nio.ReactiveAsyncChannelProvider
public class ReactiveAsyncChannelProvider
- extends AsyncProviderImpl
A select-based asynchronous IO provider.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReactiveAsyncChannelProvider
public ReactiveAsyncChannelProvider()
- Creates an asynchronous channel provider using the system default
SelectorProvider. Public visibility to allow
instantiation from a property at runtime.
- See Also:
SelectorProvider.provider()
ReactiveAsyncChannelProvider
protected ReactiveAsyncChannelProvider(SelectorProvider selProvider)
- Creates an asynchronous channel provider using the given
SelectorProvider. If the parameter is null, the
system default SelectorProvider will be used.
- Parameters:
selProvider - the SelectorProvider, or null to
use the system default SelectorProvider- See Also:
SelectorProvider.provider()
openAsynchronousChannelGroup
public ReactiveChannelGroup openAsynchronousChannelGroup(ExecutorService executor)
throws IOException
- Constructs a new asynchronous channel group.
- Specified by:
openAsynchronousChannelGroup in class AsyncProviderImpl
- Parameters:
executor - the executor service
- Returns:
- a new asynchronous channel group
- Throws:
IOException - if an I/O error occurs
Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved