public abstract class AprSession extends AbstractIoSession
IoSession
serving of base for APR based sessions.CLOSE_REQUEST, config, MESSAGE_SENT_REQUEST
Modifier and Type | Method and Description |
---|---|
IoFilterChain |
getFilterChain() |
InetSocketAddress |
getLocalAddress() |
IoProcessor<AprSession> |
getProcessor() |
InetSocketAddress |
getRemoteAddress() |
InetSocketAddress |
getServiceAddress() |
close, close, closeNow, closeOnFlush, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, destroy, equals, getAttachment, getAttribute, getAttribute, getAttributeKeys, getAttributeMap, getBothIdleCount, getCloseFuture, getConfig, getCreationTime, getCurrentWriteMessage, getCurrentWriteRequest, getHandler, getId, getIdleCount, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getService, getWriteRequestQueue, getWriterIdleCount, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, hashCode, increaseIdleCount, increaseReadBufferSize, increaseReadBytes, increaseReadMessages, increaseScheduledWriteBytes, increaseScheduledWriteMessages, increaseWrittenBytes, increaseWrittenMessages, isActive, isBothIdle, isClosing, isConnected, isIdle, isReaderIdle, isReadSuspended, isScheduledForFlush, isSecured, 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
getTransportMetadata
public IoProcessor<AprSession> getProcessor()
getProcessor
in class AbstractIoSession
public InetSocketAddress getLocalAddress()
public InetSocketAddress getRemoteAddress()
public IoFilterChain getFilterChain()
public InetSocketAddress getServiceAddress()
getServiceAddress
in interface IoSession
getServiceAddress
in class AbstractIoSession
IoService
listens to to manage
this session. If this session is managed by IoAcceptor
, it
returns the SocketAddress
which is specified as a parameter of
IoAcceptor.bind()
. If this session is managed by
IoConnector
, this method returns the same address with
that of IoSession.getRemoteAddress()
.Copyright © 2004–2021 Apache MINA Project. All rights reserved.