Interface NioSession
- All Superinterfaces:
Session
- All Known Implementing Classes:
AbstractNioSession, MemcachedTCPSession, NioTCPSession
Nio connection
-
Nested Class Summary
Nested classes/interfaces inherited from interface Session
Session.SessionStatus -
Method Summary
Modifier and TypeMethodDescriptionchannel()return the channel for this connectionvoidenableRead(Selector selector) Enable read eventvoidenableWrite(Selector selector) Enable write eventvoidWhen io event occuredMethods inherited from interface Session
clearAttributes, close, flush, getAttribute, getDecoder, getEncoder, getHandler, getLastOperationTimeStamp, getLocalAddress, getReadBufferByteOrder, getRemoteSocketAddress, getScheduleWritenBytes, getSessionIdleTimeout, getSessionTimeout, isClosed, isExpired, isHandleReadWriteConcurrently, isIdle, isLoopbackConnection, isUseBlockingRead, isUseBlockingWrite, removeAttribute, setAttribute, setAttributeIfAbsent, setDecoder, setEncoder, setHandleReadWriteConcurrently, setReadBufferByteOrder, setSessionIdleTimeout, setSessionTimeout, setUseBlockingRead, setUseBlockingWrite, start, write
-
Method Details
-
onEvent
-
enableRead
-
enableWrite
-
channel
-