public abstract class AbstractNIOHandle extends AbstractHandle
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractNIOHandle.QueuedWrite |
| Modifier and Type | Field and Description |
|---|---|
protected int |
queuedBytes |
protected GenericNodeRuntime |
runtime |
protected java.nio.channels.SelectionKey |
selKey |
protected java.util.ArrayDeque<AbstractNIOHandle.QueuedWrite> |
writeQueue |
protected boolean |
writeReady |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNIOHandle(GenericNodeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInterest(int i) |
protected void |
clientSelected(java.nio.channels.SelectionKey key) |
protected NetworkPolicy |
getNetworkPolicy() |
protected abstract void |
processConnect() |
protected abstract void |
processReads() |
protected abstract void |
processWrites() |
protected void |
queueWrite(AbstractNIOHandle.QueuedWrite qw) |
protected void |
removeInterest(int i) |
close, getReadHandler, getWritesOutstanding, setReadHandler, startReading, stopReading, write, write, writeHandle, writeHandleprotected final GenericNodeRuntime runtime
protected java.nio.channels.SelectionKey selKey
protected boolean writeReady
protected final java.util.ArrayDeque<AbstractNIOHandle.QueuedWrite> writeQueue
protected int queuedBytes
protected AbstractNIOHandle(GenericNodeRuntime runtime)
protected NetworkPolicy getNetworkPolicy()
protected void addInterest(int i)
protected void removeInterest(int i)
protected void queueWrite(AbstractNIOHandle.QueuedWrite qw)
protected void clientSelected(java.nio.channels.SelectionKey key)
protected abstract void processConnect()
protected abstract void processWrites()
protected abstract void processReads()
Copyright © 2018 Apigee Corporation. All Rights Reserved.