Top Fields Constructors Methods
org.glassfish.grizzly.nio

public abstract Class AbstractNIOConnectionDistributor

extends Object
implements NIOChannelDistributor
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.nio.NIOChannelDistributor
Known Direct Subclasses
org.glassfish.grizzly.nio.RoundRobinConnectionDistributor
Imports
java.io.IOException, java.nio.channels.SelectableChannel, org.glassfish.grizzly.GrizzlyFuture, org.glassfish.grizzly.impl.FutureImpl, org.glassfish.grizzly.utils.Futures

Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
protected final NIOTransport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected SelectorRunner[]
public final void
public final void
public final GrizzlyFuture<RegisterChannelResult>
public final GrizzlyFuture<RegisterChannelResult>
public final GrizzlyFuture<RegisterChannelResult>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

transportback to summary
protected final NIOTransport transport

Constructor Detail

AbstractNIOConnectionDistributorback to summary
public AbstractNIOConnectionDistributor(final NIOTransport transport)

Method Detail

getTransportSelectorRunnersback to summary
protected SelectorRunner[] getTransportSelectorRunners()
registerChannelback to summary
public final void registerChannel(final SelectableChannel channel) throws IOException

Implements org.glassfish.grizzly.nio.NIOChannelDistributor.registerChannel.

Annotations
@Override
registerChannelback to summary
public final void registerChannel(final SelectableChannel channel, final int interestOps) throws IOException

Implements org.glassfish.grizzly.nio.NIOChannelDistributor.registerChannel.

Annotations
@Override
registerChannelAsyncback to summary
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(final SelectableChannel channel)

Implements org.glassfish.grizzly.nio.NIOChannelDistributor.registerChannelAsync.

Annotations
@Override
registerChannelAsyncback to summary
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(final SelectableChannel channel, final int interestOps)

Implements org.glassfish.grizzly.nio.NIOChannelDistributor.registerChannelAsync.

Annotations
@Override
registerChannelAsyncback to summary
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(final SelectableChannel channel, final int interestOps, final Object attachment)

Implements org.glassfish.grizzly.nio.NIOChannelDistributor.registerChannelAsync.

Annotations
@Override