I need my application to be a TCP server (almost), clients will connect,
send one message to the server,
receive an answer back and then the client will be silent, at specific
intervals the server should send a
message out to the client and get a response back, is this possible to do ?
The first thing that crossed my mind would be to send out my message in the
sessionIdle() method,
and then the answer would come in as a normal request that I could handle,
but in this case there is
no response to send back to the client.
Is this something that can be done in MINA or should I skip this and just
use ordinary sockets for this ?