org.glassfish.grizzly.nio
Interface NIOChannelDistributor

All Known Implementing Classes:
AbstractNIOConnectionDistributor, RoundRobinConnectionDistributor

public interface NIOChannelDistributor

Author:
Alexey Stashok

Method Summary
 void registerChannel(SelectableChannel channel)
           
 void registerChannel(SelectableChannel channel, int interestOps)
           
 void registerChannel(SelectableChannel channel, int interestOps, Object attachment)
           
 GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
           
 GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
           
 GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
           
 GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
           
 

Method Detail

registerChannel

void registerChannel(SelectableChannel channel)
                     throws IOException
Throws:
IOException

registerChannel

void registerChannel(SelectableChannel channel,
                     int interestOps)
                     throws IOException
Throws:
IOException

registerChannel

void registerChannel(SelectableChannel channel,
                     int interestOps,
                     Object attachment)
                     throws IOException
Throws:
IOException

registerChannelAsync

GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
                                                          throws IOException
Throws:
IOException

registerChannelAsync

GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel,
                                                          int interestOps)
                                                          throws IOException
Throws:
IOException

registerChannelAsync

GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel,
                                                          int interestOps,
                                                          Object attachment)
                                                          throws IOException
Throws:
IOException

registerChannelAsync

GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel,
                                                          int interestOps,
                                                          Object attachment,
                                                          CompletionHandler<RegisterChannelResult> completionHandler)
                                                          throws IOException
Throws:
IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.