public abstract class AbstractNIOConnectionDistributor extends Object implements NIOChannelDistributor
| Modifier and Type | Field and Description |
|---|---|
protected NIOTransport |
transport |
| Constructor and Description |
|---|
AbstractNIOConnectionDistributor(NIOTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
protected SelectorRunner[] |
getTransportSelectorRunners() |
void |
registerChannel(SelectableChannel channel) |
void |
registerChannel(SelectableChannel channel,
int interestOps) |
GrizzlyFuture<RegisterChannelResult> |
registerChannelAsync(SelectableChannel channel) |
GrizzlyFuture<RegisterChannelResult> |
registerChannelAsync(SelectableChannel channel,
int interestOps) |
GrizzlyFuture<RegisterChannelResult> |
registerChannelAsync(SelectableChannel channel,
int interestOps,
Object attachment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterChannel, registerChannelAsync, registerServiceChannelAsyncprotected final NIOTransport transport
public AbstractNIOConnectionDistributor(NIOTransport transport)
public final void registerChannel(SelectableChannel channel) throws IOException
registerChannel in interface NIOChannelDistributorIOExceptionpublic final void registerChannel(SelectableChannel channel, int interestOps) throws IOException
registerChannel in interface NIOChannelDistributorIOExceptionpublic final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
registerChannelAsync in interface NIOChannelDistributorpublic final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
registerChannelAsync in interface NIOChannelDistributorpublic final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
registerChannelAsync in interface NIOChannelDistributorprotected SelectorRunner[] getTransportSelectorRunners()
Copyright © 2017–2019 Oracle Corporation. All rights reserved.