org.apache.http.impl.nio.reactor
Class BaseIOReactor
java.lang.Object
org.apache.http.impl.nio.reactor.AbstractIOReactor
org.apache.http.impl.nio.reactor.BaseIOReactor
- All Implemented Interfaces:
- IOReactor
- public class BaseIOReactor
- extends AbstractIOReactor
Method Summary |
protected void |
acceptable(java.nio.channels.SelectionKey key)
|
protected void |
connectable(java.nio.channels.SelectionKey key)
|
protected IOSession |
keyCancelled(java.nio.channels.SelectionKey key)
|
protected void |
keyCreated(java.nio.channels.SelectionKey key,
IOSession session)
|
protected void |
readable(java.nio.channels.SelectionKey key)
|
protected void |
timeoutCheck(java.nio.channels.SelectionKey key,
long now)
|
protected void |
validate(java.util.Set keys)
|
protected void |
writable(java.nio.channels.SelectionKey key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseIOReactor
public BaseIOReactor(long selectTimeout)
throws IOReactorException
acceptable
protected void acceptable(java.nio.channels.SelectionKey key)
- Specified by:
acceptable
in class AbstractIOReactor
connectable
protected void connectable(java.nio.channels.SelectionKey key)
- Specified by:
connectable
in class AbstractIOReactor
readable
protected void readable(java.nio.channels.SelectionKey key)
- Specified by:
readable
in class AbstractIOReactor
writable
protected void writable(java.nio.channels.SelectionKey key)
- Specified by:
writable
in class AbstractIOReactor
validate
protected void validate(java.util.Set keys)
- Specified by:
validate
in class AbstractIOReactor
timeoutCheck
protected void timeoutCheck(java.nio.channels.SelectionKey key,
long now)
- Specified by:
timeoutCheck
in class AbstractIOReactor
keyCreated
protected void keyCreated(java.nio.channels.SelectionKey key,
IOSession session)
- Specified by:
keyCreated
in class AbstractIOReactor
keyCancelled
protected IOSession keyCancelled(java.nio.channels.SelectionKey key)
- Specified by:
keyCancelled
in class AbstractIOReactor
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.