Connectionless transport types such as UDP has a problem with the current API because there's no way for IoHandler bound to an acceptor to send a message before a client sends data. This issue has been discussed in this thread:
Connectionless transport types such as UDP has a problem with the current API because there's no way for IoHandler bound to an acceptor to send a message before a client sends data. This issue has been discussed in this thread:
http://www.nabble.com/-mina-DatagramAcceptor-RFE-t410448.html
Resolved issue: DIRMINA-96 - Provide an API for connectionless transport types to create a session from IoAcceptor.
* Added IoAcceptor.newSession()
** SocketAcceptor throws UnsupportedOperationException
** DatagramAcceptor returns an appropriate DatagramSession
** IoProtocolAcceptor.newSession() wraps IoAcceptor.newSession()