Interface DatagramServiceConfig
- All Superinterfaces:
Cloneable
,IoServiceConfig
- All Known Implementing Classes:
DatagramAcceptorConfig
,DatagramConnectorConfig
-
Method Summary
Modifier and TypeMethodDescriptionResturns the default configuration of the newIoSession
s.Returns theIoSessionRecycler
for this service.void
setSessionRecycler
(IoSessionRecycler sessionRecycler) Sets theIoSessionRecycler
for this service.Methods inherited from interface org.apache.mina.common.IoServiceConfig
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
-
Method Details
-
getSessionConfig
DatagramSessionConfig getSessionConfig()Description copied from interface:IoServiceConfig
Resturns the default configuration of the newIoSession
s.- Specified by:
getSessionConfig
in interfaceIoServiceConfig
-
getSessionRecycler
IoSessionRecycler getSessionRecycler()Returns theIoSessionRecycler
for this service. -
setSessionRecycler
Sets theIoSessionRecycler
for this service.- Parameters:
sessionRecycler
- null to use the default recycler
-