com.sun.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)
           
 Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
           
 Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
           
 Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
           
 Future<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler 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

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

registerChannelAsync

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

registerChannelAsync

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

registerChannelAsync

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


Copyright © 2009 SUN Microsystems. All Rights Reserved.