com.sun.grizzly.nio
Interface NIOTransport
- All Superinterfaces:
- ExceptionHandler, Transport
- All Known Implementing Classes:
- AbstractNIOTransport, TCPNIOTransport, UDPNIOTransport
public interface NIOTransport
- extends Transport
- Author:
- oleksiys
| Methods inherited from interface com.sun.grizzly.Transport |
addExceptionHandler, configureBlocking, fireIOEvent, fireIOEvent, getAttributeBuilder, getInternalThreadPool, getMemoryManager, getName, getProcessor, getProcessorSelector, getReadBufferSize, getState, getWorkerThreadPool, getWriteBufferSize, isBlocking, isStopped, notifyException, pause, removeExceptionHandler, resume, setAttributeBuilder, setInternalThreadPool, setMemoryManager, setName, setProcessor, setProcessorSelector, setReadBufferSize, setWorkerThreadPool, setWriteBufferSize, start, stop |
getSelectionKeyHandler
SelectionKeyHandler getSelectionKeyHandler()
setSelectionKeyHandler
void setSelectionKeyHandler(SelectionKeyHandler selectionKeyHandler)
getSelectorHandler
SelectorHandler getSelectorHandler()
setSelectorHandler
void setSelectorHandler(SelectorHandler selectorHandler)
getSelectorRunnersCount
int getSelectorRunnersCount()
setSelectorRunnersCount
void setSelectorRunnersCount(int selectorRunnersCount)
getNioChannelDistributor
NIOChannelDistributor getNioChannelDistributor()
setNioChannelDistributor
void setNioChannelDistributor(NIOChannelDistributor nioChannelDistributor)
getStrategy
Strategy getStrategy()
- Description copied from interface:
Transport
- Get the
Strategy implementation, which will be used by
Transport to process IOEvent.
Strategy is responsible for choosing the way, how I/O event
will be processed: using current Thread, worker Thread;
or make any other decisions.
- Specified by:
getStrategy in interface Transport
- Returns:
- the
Strategy implementation, which will be used by
Transport to process IOEvent.
setStrategy
void setStrategy(Strategy strategy)
- Description copied from interface:
Transport
- Set the
Strategy implementation, which will be used by
Transport to process IOEvent.
Strategy is responsible for choosing the way, how I/O event
will be processed: using current Thread, worker Thread;
or make any other decisions.
- Specified by:
setStrategy in interface Transport
- Parameters:
strategy - the Strategy implementation, which will be used
by Transport to process IOEvent.
Copyright © 2009 SUN Microsystems. All Rights Reserved.