Top Fields Constructors Methods
org.glassfish.grizzly.nio

public final Class DefaultSelectionKeyHandler

extends Object
implements SelectionKeyHandler
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.nio.SelectionKeyHandler
Imports
java.io.IOException, java.nio.channels.SelectionKey, java.util.Arrays, java.util.logging.Level, .Logger, org.glassfish.grizzly.Grizzly, .IOEvent

Author
oleksiys

Field Summary

Modifier and TypeField and Description
private static final IOEvent[][]
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public NIOConnection
public IOEvent[]
public int
public void
public void
public boolean
public IOEvent
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ioEventMapback to summary
private static final IOEvent[][] ioEventMap
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

DefaultSelectionKeyHandlerback to summary
public DefaultSelectionKeyHandler()

Method Detail

cancelback to summary
public void cancel(SelectionKey key) throws IOException

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.cancel.

Annotations
@Override
getConnectionForKeyback to summary
public NIOConnection getConnectionForKey(SelectionKey selectionKey)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.getConnectionForKey.

Annotations
@Override
getIOEventsback to summary
public IOEvent[] getIOEvents(int interest)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.getIOEvents.

Annotations
@Override
ioEvent2SelectionKeyInterestback to summary
public int ioEvent2SelectionKeyInterest(IOEvent ioEvent)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.ioEvent2SelectionKeyInterest.

Annotations
@Override
onKeyDeregisteredback to summary
public void onKeyDeregistered(SelectionKey key)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.onKeyDeregistered.

Annotations
@Override
onKeyRegisteredback to summary
public void onKeyRegistered(SelectionKey key)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.onKeyRegistered.

Annotations
@Override
onProcessInterestback to summary
public boolean onProcessInterest(SelectionKey key, int interest) throws IOException

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.onProcessInterest.

Annotations
@Override
selectionKeyInterest2IoEventback to summary
public IOEvent selectionKeyInterest2IoEvent(int selectionKeyInterest)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.selectionKeyInterest2IoEvent.

Annotations
@Override
setConnectionForKeyback to summary
public void setConnectionForKey(NIOConnection connection, SelectionKey selectionKey)

Implements org.glassfish.grizzly.nio.SelectionKeyHandler.setConnectionForKey.

Annotations
@Override