Module org.glassfish.grizzly
Package org.glassfish.grizzly.nio
Class AbstractNIOConnectionDistributor
java.lang.Object
org.glassfish.grizzly.nio.AbstractNIOConnectionDistributor
- All Implemented Interfaces:
NIOChannelDistributor
- Direct Known Subclasses:
RoundRobinConnectionDistributor
public abstract class AbstractNIOConnectionDistributor
extends Object
implements NIOChannelDistributor
- Author:
- Alexey Stashok
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SelectorRunner[]
final void
registerChannel
(SelectableChannel channel) final void
registerChannel
(SelectableChannel channel, int interestOps) registerChannelAsync
(SelectableChannel channel) registerChannelAsync
(SelectableChannel channel, int interestOps) registerChannelAsync
(SelectableChannel channel, int interestOps, Object attachment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.glassfish.grizzly.nio.NIOChannelDistributor
registerChannel, registerChannelAsync, registerServiceChannelAsync
-
Field Details
-
transport
-
-
Constructor Details
-
AbstractNIOConnectionDistributor
-
-
Method Details
-
registerChannel
- Specified by:
registerChannel
in interfaceNIOChannelDistributor
- Throws:
IOException
-
registerChannel
- Specified by:
registerChannel
in interfaceNIOChannelDistributor
- Throws:
IOException
-
registerChannelAsync
- Specified by:
registerChannelAsync
in interfaceNIOChannelDistributor
-
registerChannelAsync
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps) - Specified by:
registerChannelAsync
in interfaceNIOChannelDistributor
-
registerChannelAsync
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment) - Specified by:
registerChannelAsync
in interfaceNIOChannelDistributor
-
getTransportSelectorRunners
-