hi guys
how do you currently implement request/response sessions over UDP in
MINA? can a connector do a session.write(), upon which the acceptor's
handler processes the received datagram and does a session.write() to
the session it received when called, upon which the original connector
can do a session.read()? or do you need a connector and handler on each
side of the connection, such that sending and receiving are decoupled
and not inside a mutual session?
if using a single session does work, where would i have to adapt my
AprDatagramAcceptor and Connectors? would they have to extend the
AbstractPollingIoAcceptor/Connector instead of the
ABstractPollingConnectionlessAcceptor/Connector? the connectionless
versions work so far, however i am still not 100% sure how the framework
registers read and write events using the polling framework of APR, and
where all the setInterestedInX() and isXable() come into play...
cheers,
lorenz