com.sun.grizzly.nio
Interface NIOConnection

All Superinterfaces:
AttributeStorage, Closeable, Connection<SocketAddress>, Readable<SocketAddress>, Writable<SocketAddress>
All Known Implementing Classes:
AbstractNIOConnection, TCPNIOConnection, TCPNIOServerConnection, UDPNIOConnection, UDPNIOServerConnection

public interface NIOConnection
extends Connection<SocketAddress>

Author:
oleksiys

Method Summary
 void disableIOEvent(IOEvent ioEvent)
           
 void enableIOEvent(IOEvent ioEvent)
           
 SelectableChannel getChannel()
           
 SelectionKey getSelectionKey()
           
 SelectorRunner getSelectorRunner()
           
 
Methods inherited from interface com.sun.grizzly.Connection
close, configureBlocking, getLocalAddress, getPeerAddress, getProcessor, getProcessorSelector, getReadBufferSize, getStreamReader, getStreamWriter, getTransport, getWriteBufferSize, isBlocking, isOpen, setProcessor, setProcessorSelector, setReadBufferSize, setWriteBufferSize
 
Methods inherited from interface com.sun.grizzly.Readable
read, read, read, read
 
Methods inherited from interface com.sun.grizzly.Writable
write, write, write, write
 
Methods inherited from interface com.sun.grizzly.attributes.AttributeStorage
getAttributes, obtainAttributes
 

Method Detail

getSelectorRunner

SelectorRunner getSelectorRunner()

getSelectionKey

SelectionKey getSelectionKey()

getChannel

SelectableChannel getChannel()

enableIOEvent

void enableIOEvent(IOEvent ioEvent)
                   throws IOException
Throws:
IOException

disableIOEvent

void disableIOEvent(IOEvent ioEvent)
                    throws IOException
Throws:
IOException


Copyright © 2009 SUN Microsystems. All Rights Reserved.