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, wait
registerChannel, registerChannelAsync, registerServiceChannelAsync
protected final NIOTransport transport
public AbstractNIOConnectionDistributor(NIOTransport transport)
public final void registerChannel(SelectableChannel channel) throws IOException
registerChannel
in interface NIOChannelDistributor
IOException
public final void registerChannel(SelectableChannel channel, int interestOps) throws IOException
registerChannel
in interface NIOChannelDistributor
IOException
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
registerChannelAsync
in interface NIOChannelDistributor
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
registerChannelAsync
in interface NIOChannelDistributor
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
registerChannelAsync
in interface NIOChannelDistributor
protected SelectorRunner[] getTransportSelectorRunners()
Copyright © 2014 Oracle Corporation. All rights reserved.