Hey.. I haven't been using Mina for long, but what you could do is create a new object that runs on a thread that uses the filter chain to fire a event every x seconds. Your handler should then do the rest. Once the event has been fired the thread should then go back to sleep. I guess you could use the connection object to gather the sessions / filter chains? Hope this helps..
Best regards, Mark Wallsgrove On 10/3/09, CoolHedin <[email protected]> wrote: > Hi. I develop an application using your excellent library. But I had a > difficulty. > I need to send messages from server to clients, by timer. > and I do not understand how to do it. > for example, i send every 1 minutes 'Hi everyone' message to all conection > -- > Sincerely yours, > Sergey Paramonov > Adept Team, www.adept-project.com > -- Best Regards, Mark Wallsgrove
