Interface DatagramServiceConfig
-
- All Superinterfaces:
java.lang.Cloneable,IoServiceConfig
- All Known Implementing Classes:
DatagramAcceptorConfig,DatagramConnectorConfig
public interface DatagramServiceConfig extends IoServiceConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatagramSessionConfiggetSessionConfig()Resturns the default configuration of the newIoSessions.IoSessionRecyclergetSessionRecycler()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 Detail
-
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
void setSessionRecycler(IoSessionRecycler sessionRecycler)
Sets theIoSessionRecyclerfor this service.- Parameters:
sessionRecycler- null to use the default recycler
-
-