|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.common.support.DelegatedIoAcceptor
org.apache.mina.transport.socket.nio.DatagramAcceptor
public class DatagramAcceptor
IoAcceptor
for datagram transport (UDP/IP).
Field Summary |
---|
Fields inherited from class org.apache.mina.common.support.DelegatedIoAcceptor |
---|
delegate |
Constructor Summary | |
---|---|
DatagramAcceptor()
Creates a new instance using a NewThreadExecutor |
|
DatagramAcceptor(Executor executor)
Creates a new instance. |
Method Summary | |
---|---|
DatagramAcceptorConfig |
getDefaultConfig()
Returns the default configuration which is used when you didn't specify any configuration. |
void |
setDefaultConfig(DatagramAcceptorConfig defaultConfig)
Sets the config this acceptor will use by default. |
Methods inherited from class org.apache.mina.common.support.DelegatedIoAcceptor |
---|
addListener, bind, bind, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, init, isManaged, newSession, removeListener, setFilterChainBuilder, unbind, unbindAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatagramAcceptor()
public DatagramAcceptor(Executor executor)
executor
- Executor to use for launching threadsMethod Detail |
---|
public DatagramAcceptorConfig getDefaultConfig()
IoService
getDefaultConfig
in interface IoService
getDefaultConfig
in class org.apache.mina.common.support.DelegatedIoAcceptor
public void setDefaultConfig(DatagramAcceptorConfig defaultConfig)
defaultConfig
- the default config.
NullPointerException
- if the specified value is null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |