public abstract class AbstractUdpServer extends AbstractIoServer implements IoClient
AbstractIoService.ServiceStateconfig, ioHandlerExecutor| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUdpServer(IoHandlerExecutor ioHandlerExecutor)
Create an new AbsractUdpServer instance
|
protected |
AbstractUdpServer(UdpSessionConfig config,
IoHandlerExecutor ioHandlerExecutor)
Create an new AbsractUdpServer instance
|
| Modifier and Type | Method and Description |
|---|---|
UdpSessionConfig |
getSessionConfig()
Returns the default configuration of the new
IoSessions created by this service. |
void |
initSecured(IoSession session) |
void |
setSessionConfig(UdpSessionConfig config) |
isReuseAddress, setReuseAddress, setSessionConfigfireServiceActivated, fireServiceInactivated, getFilters, getIoHandler, getIoHandlerExecutor, getManagedSessions, initState, isActive, isCreated, isDisposed, isDisposing, isSuspended, setActive, setCreated, setDisposed, setDisposing, setFilters, setIoHandler, setSuspendedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, bind, getBoundAddress, unbindprotected AbstractUdpServer(IoHandlerExecutor ioHandlerExecutor)
eventExecutor - used for executing IoHandler event in another pool of thread (not in the low level I/O one).
Use null if you don't want one. Be careful, the IoHandler processing will block the I/O
operations.protected AbstractUdpServer(UdpSessionConfig config, IoHandlerExecutor ioHandlerExecutor)
sessionConfig - The configuration to use for this servereventExecutor - used for executing IoHandler event in another pool of thread (not in the low level I/O one).
Use null if you don't want one. Be careful, the IoHandler processing will block the I/O
operations.public void initSecured(IoSession session) throws SSLException
SSLExceptionpublic UdpSessionConfig getSessionConfig()
IoSessions created by this service.getSessionConfig in interface IoServicegetSessionConfig in class AbstractIoServerIoServicepublic void setSessionConfig(UdpSessionConfig config)
Copyright © 2009–2013 Apache MINA Project. All rights reserved.