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
An
IoSession for APR TCP socket based session.
It's implementing the usual common features for .-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classThe implementation for theIoSessionConfigrelated to APR TCP socket. -
Field Summary
FieldsFields inherited from class AbstractIoSession
CLOSE_REQUEST, config, MESSAGE_SENT_REQUEST -
Constructor Summary
ConstructorsConstructorDescriptionAprSocketSession(IoService service, IoProcessor<AprSession> processor, long descriptor) Create an instance ofAprSocketSession. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class AprSession
getDescriptor, getFilterChain, getLocalAddress, getProcessor, getRemoteAddress, getServiceAddress, isInterestedInRead, isInterestedInWrite, isReadable, isWritable, setDescriptor, setInterestedInRead, setInterestedInWrite, setReadable, setWritableMethods inherited from class 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 Details
-
METADATA
-
-
Constructor Details
-
AprSocketSession
AprSocketSession(IoService service, IoProcessor<AprSession> processor, long descriptor) throws Exception Create an instance ofAprSocketSession.- Throws:
Exception
-
-
Method Details
-
getConfig
- Specified by:
getConfigin interfaceIoSession- Overrides:
getConfigin classAbstractIoSession- Returns:
- the configuration of this session.
-
getTransportMetadata
- Returns:
- the
TransportMetadatathat this session runs on.
-