Hi,

My clients have permanent connection to mina based server and I am not shure
how WriteFuture works.
Clients can not send message parallel.

This is a scenario :

1. client sends message
2. server accepts message
3. server writes message and adds listener to WriteFuture( in listener
server detects is message sent to client)

After it the scenario repeats with same connection to server.

Is it posible that listener added to WriteFutere of first message be called
during prosessing some other message?

In other words is this scenario :

1. client sends message
2. server accepts message
3. server writes message and adds listener to WriteFuture( in listener
server detects is message sent to client)
4. server calls WriteFuture listener


Is guaranteed that WriteFuture listener will be called before client sends
second messsage?


Thanks
Zlatko Josic

Reply via email to