Package org.glassfish.grizzly.nio
Interface NIOChannelDistributor
-
- All Known Implementing Classes:
AbstractNIOConnectionDistributor
,RoundRobinConnectionDistributor
public interface NIOChannelDistributor
- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
void
registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
void
registerServiceChannelAsync(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)
-
registerChannelAsync
GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
-
registerChannelAsync
GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
-
registerChannelAsync
void registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
-
registerServiceChannelAsync
void registerServiceChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
-
-