org.glassfish.grizzly.nio.tmpselectors
Class TemporarySelectorIO

java.lang.Object
  extended by org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO

public class TemporarySelectorIO
extends Object

Author:
oleksiys

Field Summary
protected  TemporarySelectorPool selectorPool
           
 
Constructor Summary
TemporarySelectorIO(Reader<SocketAddress> reader, Writer<SocketAddress> writer)
           
TemporarySelectorIO(Reader<SocketAddress> reader, Writer<SocketAddress> writer, TemporarySelectorPool selectorPool)
           
 
Method Summary
 Reader<SocketAddress> getReader()
           
 TemporarySelectorPool getSelectorPool()
           
 Writer<SocketAddress> getWriter()
           
protected  void recycleTemporaryArtifacts(Selector selector, SelectionKey selectionKey)
           
 void setSelectorPool(TemporarySelectorPool selectorPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectorPool

protected TemporarySelectorPool selectorPool
Constructor Detail

TemporarySelectorIO

public TemporarySelectorIO(Reader<SocketAddress> reader,
                           Writer<SocketAddress> writer)

TemporarySelectorIO

public TemporarySelectorIO(Reader<SocketAddress> reader,
                           Writer<SocketAddress> writer,
                           TemporarySelectorPool selectorPool)
Method Detail

getSelectorPool

public TemporarySelectorPool getSelectorPool()

setSelectorPool

public void setSelectorPool(TemporarySelectorPool selectorPool)

getReader

public Reader<SocketAddress> getReader()

getWriter

public Writer<SocketAddress> getWriter()

recycleTemporaryArtifacts

protected void recycleTemporaryArtifacts(Selector selector,
                                         SelectionKey selectionKey)


Copyright © 2013 Oracle Corporation. All Rights Reserved.