public abstract class AprSession extends AbstractIoSession
IoSession
serving of base for APR based sessions.config
Modifier and Type | Method and Description |
---|---|
IoFilterChain |
getFilterChain() |
java.net.InetSocketAddress |
getLocalAddress()
Returns the socket address of local machine which is associated with this
session.
|
IoProcessor<AprSession> |
getProcessor() |
java.net.InetSocketAddress |
getRemoteAddress()
Returns the socket address of remote peer.
|
java.net.InetSocketAddress |
getServiceAddress()
Returns the socket address of the
IoService listens to to manage
this session. |
close, close, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, 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, 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
getTransportMetadata
public IoProcessor<AprSession> getProcessor()
getProcessor
in class AbstractIoSession
public java.net.InetSocketAddress getLocalAddress()
public java.net.InetSocketAddress getRemoteAddress()
public IoFilterChain getFilterChain()
public java.net.InetSocketAddress getServiceAddress()
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()
.getServiceAddress
in interface IoSession
getServiceAddress
in class AbstractIoSession
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.