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
class AprDatagramSession extends AprSession
AnIoSessionfor APR UDP datagram based session. It's implementing the usual common features forDatagramSessionConfig.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classAprDatagramSession.SessionConfigImplThe implementation for theIoSessionConfigrelated to APR UDP 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 AprDatagramSession(IoService service, IoProcessor<AprSession> processor, long descriptor, java.net.InetSocketAddress remoteAddress)Create an instance ofAprDatagramSession.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatagramSessionConfiggetConfig()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
-
AprDatagramSession
AprDatagramSession(IoService service, IoProcessor<AprSession> processor, long descriptor, java.net.InetSocketAddress remoteAddress) throws java.lang.Exception
Create an instance ofAprDatagramSession.- Throws:
java.lang.Exception
-
-
Method Detail
-
getConfig
public DatagramSessionConfig 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.
-
-