Maybe I am missing something, but if operationComplete is called, then the
message was written to the client.  So this tells us that the message was
placed on the wire.  If the client is dead at this time, an exception
should/would be generated.  The server has no way of knowing that the client
has actually processed the message because it is in another process and
there is no way to communicate that the message was processed unless an
acknowledgment is sent to the client.



On Sun, Jul 27, 2008 at 6:25 AM, Zlatko Josic <[EMAIL PROTECTED]>
wrote:

> Yes you right...but this approach is not good enough because it has to much
> messages in protocol.
> I still don'nt know why MINA framework can not detect is data send to
> client.
>
>
> On Sat, Jul 26, 2008 at 10:52 PM, W.B. Garvelink <
> [EMAIL PROTECTED]
> > wrote:
>
> > If I understand your requirement correctly, you may have to implement
> > an ARQ mechanism, that is, make the client send acknowledgement
> > messages to the server and make the server keep track of them.
> >
> >
> > On Sat, Jul 26, 2008 at 4:41 PM, Zlatko Josic <[EMAIL PROTECTED]>
> > wrote:
> > > Data sends to client ends with '\n'.
> > > Client is not alive at the moment server sends data to client.
> > > WriteFuture.isWriiten() allways returns true.
> > >
> > > How can I in MINA address tihs problem? It is very important for
> project
> > I'm
> > > working on.
> > >
> > > Thanks for any idea.
> >
>

Reply via email to