Interface DatagramServiceConfig
- All Superinterfaces:
Cloneable,IoServiceConfig
- All Known Implementing Classes:
DatagramAcceptorConfig,DatagramConnectorConfig
-
Method Summary
Modifier and TypeMethodDescriptionResturns the default configuration of the newIoSessions.Returns theIoSessionRecyclerfor this service.voidsetSessionRecycler(IoSessionRecycler sessionRecycler) Sets theIoSessionRecyclerfor 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:IoServiceConfigResturns the default configuration of the newIoSessions.- Specified by:
getSessionConfigin interfaceIoServiceConfig
-
getSessionRecycler
IoSessionRecycler getSessionRecycler()Returns theIoSessionRecyclerfor this service. -
setSessionRecycler
Sets theIoSessionRecyclerfor this service.- Parameters:
sessionRecycler- null to use the default recycler
-