Hi,
I have a written a service following this article

http://mina.apache.org/tutorial-on-protocolcodecfilter-for-mina-2x.html

and it works perfectly.
Now, on this same channel, I need to send some messages that are not
replies to client requests.

The system receive an event from a GUI and I need to send a message to
the client.

Where should I place my session.write() ?

Is it safe to use it outside the callback methods and call it at any
time? Should I synchronize on something? There is something about this
I've missed completely?


Thanks in advance


Bye

Lorenzo

Reply via email to