Class AprDatagramSession
java.lang.Object
org.apache.mina.core.session.AbstractIoSession
org.apache.mina.transport.socket.apr.AprSession
org.apache.mina.transport.socket.apr.AprDatagramSession
- All Implemented Interfaces:
IoSession
An
IoSession for APR UDP datagram based session.
It's implementing the usual common features for DatagramSessionConfig.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classThe implementation for theIoSessionConfigrelated to APR UDP socket. -
Field Summary
FieldsFields inherited from class AbstractIoSession
CLOSE_REQUEST, config, MESSAGE_SENT_REQUEST -
Constructor Summary
ConstructorsConstructorDescriptionAprDatagramSession(IoService service, IoProcessor<AprSession> processor, long descriptor, InetSocketAddress remoteAddress) Create an instance ofAprDatagramSession. -
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
-
AprDatagramSession
AprDatagramSession(IoService service, IoProcessor<AprSession> processor, long descriptor, InetSocketAddress remoteAddress) throws Exception Create an instance ofAprDatagramSession.- 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.
-