public abstract class NioSession extends AbstractIoSession
IoSession
which is managed by the NIO transport.Modifier and Type | Field and Description |
---|---|
protected IoProcessor<NioSession> |
processor
The NioSession processor
|
Modifier | Constructor and Description |
---|---|
protected |
NioSession(IoProcessor<NioSession> processor)
Creates a new instance of NioSession, with its associated IoProcessor.
|
Modifier and Type | Method and Description |
---|---|
IoProcessor<NioSession> |
getProcessor() |
close, close, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, equals, getAttachment, getAttribute, getAttribute, getAttributeKeys, getAttributeMap, getBothIdleCount, getCloseFuture, getCreationTime, getCurrentWriteMessage, getCurrentWriteRequest, getId, getIdleCount, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getServiceAddress, getWriteRequestQueue, getWriterIdleCount, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, hashCode, increaseIdleCount, increaseReadBufferSize, increaseReadBytes, increaseReadMessages, increaseScheduledWriteBytes, increaseScheduledWriteMessages, increaseWrittenBytes, increaseWrittenMessages, isBothIdle, isClosing, isConnected, isIdle, isReaderIdle, isReadSuspended, isScheduledForFlush, isWriterIdle, isWriteSuspended, notifyIdleness, notifyIdleSession, offerClosedReadFuture, offerFailedReadFuture, offerReadFuture, read, removeAttribute, removeAttribute, replaceAttribute, resumeRead, resumeWrite, scheduledForFlush, setAttachment, setAttribute, setAttribute, setAttributeIfAbsent, setAttributeIfAbsent, setAttributeMap, setCurrentWriteRequest, setScheduledForFlush, setScheduledWriteBytes, setScheduledWriteMessages, setWriteRequestQueue, suspendRead, suspendWrite, toString, unscheduledForFlush, updateThroughput, write, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConfig, getFilterChain, getHandler, getLocalAddress, getRemoteAddress, getService, getTransportMetadata
protected final IoProcessor<NioSession> processor
protected NioSession(IoProcessor<NioSession> processor)
processor
- The associated IoProcessorpublic IoProcessor<NioSession> getProcessor()
getProcessor
in class AbstractIoSession
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.