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 java.lang.Object
- implements NIOChannelDistributor
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transport
protected final NIOTransport transport
AbstractNIOConnectionDistributor
public AbstractNIOConnectionDistributor(NIOTransport transport)
registerChannel
public final void registerChannel(java.nio.channels.SelectableChannel channel)
throws java.io.IOException
- Specified by:
registerChannel in interface NIOChannelDistributor
- Throws:
java.io.IOException
registerChannel
public final void registerChannel(java.nio.channels.SelectableChannel channel,
int interestOps)
throws java.io.IOException
- Specified by:
registerChannel in interface NIOChannelDistributor
- Throws:
java.io.IOException
registerChannelAsync
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(java.nio.channels.SelectableChannel channel)
throws java.io.IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
java.io.IOException
registerChannelAsync
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(java.nio.channels.SelectableChannel channel,
int interestOps)
throws java.io.IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
java.io.IOException
registerChannelAsync
public final GrizzlyFuture<RegisterChannelResult> registerChannelAsync(java.nio.channels.SelectableChannel channel,
int interestOps,
java.lang.Object attachment)
throws java.io.IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
java.io.IOException
getTransportSelectorRunners
protected SelectorRunner[] getTransportSelectorRunners()
Copyright © 2011 Oracle Corpration. All Rights Reserved.