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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transport
protected AbstractNIOTransport transport
AbstractNIOConnectionDistributor
public AbstractNIOConnectionDistributor(AbstractNIOTransport transport)
registerChannel
public void registerChannel(SelectableChannel channel)
throws IOException
- Specified by:
registerChannel in interface NIOChannelDistributor
- Throws:
IOException
registerChannel
public void registerChannel(SelectableChannel channel,
int interestOps)
throws IOException
- Specified by:
registerChannel in interface NIOChannelDistributor
- Throws:
IOException
registerChannelAsync
public Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
throws IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
IOException
registerChannelAsync
public Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel,
int interestOps)
throws IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
IOException
registerChannelAsync
public Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel,
int interestOps,
Object attachment)
throws IOException
- Specified by:
registerChannelAsync in interface NIOChannelDistributor
- Throws:
IOException
getTransportSelectorRunners
protected SelectorRunner[] getTransportSelectorRunners()
Copyright © 2009 SUN Microsystems. All Rights Reserved.