mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zlatko Josic <zlatko.jo...@gmail.com>
Subject Re: WriteFuture order per message
Date Wed, 27 Jan 2010 08:38:06 GMT
Any ideas   ?

On Tue, Jan 26, 2010 at 1:56 PM, Zlatko Josic <zlatko.josic@gmail.com>wrote:

> I use mina 1.1.7 version.
>
>
> On Tue, Jan 26, 2010 at 12:16 PM, Zlatko Josic <zlatko.josic@gmail.com>wrote:
>
>> 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
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message