Top Methods
org.glassfish.grizzly.nio

public Interface NIOChannelDistributor

Known Direct Implementers
org.glassfish.grizzly.nio.AbstractNIOConnectionDistributor
Imports
java.io.IOException, java.nio.channels.SelectableChannel, org.glassfish.grizzly.CompletionHandler, .GrizzlyFuture

Author
Alexey Stashok

Method Summary

Modifier and TypeMethod and Description
public void
public void
registerChannel(SelectableChannel channel, int interestOps)

public void
registerChannel(SelectableChannel channel, int interestOps, Object attachment)

public GrizzlyFuture<RegisterChannelResult>
public GrizzlyFuture<RegisterChannelResult>
registerChannelAsync(SelectableChannel channel, int interestOps)

public GrizzlyFuture<RegisterChannelResult>
registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)

public void
registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)

public void
registerServiceChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)

Method Detail

registerChannelback to summary
public void registerChannel(SelectableChannel channel) throws IOException
registerChannelback to summary
public void registerChannel(SelectableChannel channel, int interestOps) throws IOException
registerChannelback to summary
public void registerChannel(SelectableChannel channel, int interestOps, Object attachment) throws IOException
registerChannelAsyncback to summary
public GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel)
registerChannelAsyncback to summary
public GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps)
registerChannelAsyncback to summary
public GrizzlyFuture<RegisterChannelResult> registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
registerChannelAsyncback to summary
public void registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
registerServiceChannelAsyncback to summary
public void registerServiceChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)