Perhaps a quick and dirty way is to use transaction id's from the client, store them and discard them once a reply is received.

Y,
On 4 Feb 2010, at 10:56, jose vilmar estacio de souza wrote:

Hi all,
First I apologize because I do not know if it's appropriate to put this kind of question in this list.

I need some clarification about how mina works.
The application that I am writing works as follows:
it is a service that will receive connections from multiple clients.
The number of requests made by a client is unlimited. However a request can only be made when the request made previously have been answered. If a request is made and an answer is pending, the request may be discarded. The request received by my application is forwarded to a web application and the response from the web application is returned to the client that made the request.

I'm putting the process of sending the request to the web application and wait for the response in my IOHandler. if my understanding is correct, As long as the response of the web application does not return, a new request made by the same client will not be processed. How can I identify that the request was made before the response return?
Thanks.

[]S José Vilmar Estácio de Souza
http://www.informal.com.br
Msn:[email protected] Skype:jvilmar
Twitter: http://www.twitter.com/jvesouza
Phone: +55 21-2555-2650 Cel: +55 21-8868-0859


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

  • clarification jose vilmar estacio de souza
    • Re: clarification Ioannis Mavroukakis

Reply via email to