Class AprSocketSession
- java.lang.Object
-
- org.apache.mina.core.session.AbstractIoSession
-
- org.apache.mina.transport.socket.apr.AprSession
-
- org.apache.mina.transport.socket.apr.AprSocketSession
-
- All Implemented Interfaces:
IoSession
class AprSocketSession extends AprSession
AnIoSessionfor APR TCP socket based session. It's implementing the usual common features for .
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classAprSocketSession.SessionConfigImplThe implementation for theIoSessionConfigrelated to APR TCP socket.
-
Field Summary
Fields Modifier and Type Field Description (package private) static TransportMetadataMETADATA-
Fields inherited from class org.apache.mina.core.session.AbstractIoSession
CLOSE_REQUEST, config, MESSAGE_SENT_REQUEST
-
-
Constructor Summary
Constructors Constructor Description AprSocketSession(IoService service, IoProcessor<AprSession> processor, long descriptor)Create an instance ofAprSocketSession.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketSessionConfiggetConfig()TransportMetadatagetTransportMetadata()-
Methods inherited from class org.apache.mina.transport.socket.apr.AprSession
getDescriptor, getFilterChain, getLocalAddress, getProcessor, getRemoteAddress, getServiceAddress, isInterestedInRead, isInterestedInWrite, isReadable, isWritable, setDescriptor, setInterestedInRead, setInterestedInWrite, setReadable, setWritable
-
Methods inherited from class org.apache.mina.core.session.AbstractIoSession
close, close, closeNow, closeOnFlush, containsAttribute, decreaseReadBufferSize, decreaseScheduledBytesAndMessages, destroy, equals, getAttachment, getAttribute, getAttribute, getAttributeKeys, getAttributeMap, getBothIdleCount, getCloseFuture, 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
-
-
-
-
Field Detail
-
METADATA
static final TransportMetadata METADATA
-
-
Constructor Detail
-
AprSocketSession
AprSocketSession(IoService service, IoProcessor<AprSession> processor, long descriptor) throws java.lang.Exception
Create an instance ofAprSocketSession.- Throws:
java.lang.Exception
-
-
Method Detail
-
getConfig
public SocketSessionConfig getConfig()
- Specified by:
getConfigin interfaceIoSession- Overrides:
getConfigin classAbstractIoSession- Returns:
- the configuration of this session.
-
getTransportMetadata
public TransportMetadata getTransportMetadata()
- Returns:
- the
TransportMetadatathat this session runs on.
-
-