Hi !

I need to write a client for asynchronous TCP/IP server. I will have only 1 
connection open. I will send multiple requests to this Server. Server 
replies will be returned in random order. That is I send in example 
requests A, B, C, and Server returns responses B, C, A. So I will have to 
identify based on data contained in responses which response belong to 
which request. I can't block requests to wait for answer to be returned to 
first one, and then only send another one. On front I have webapp, so any 
user can trigger some request to be sent to this Server. But again I have 
only 1 connection and have to put all my calls to server through this 
connection.

I already have code that opens new connection each time for every new 
request I receive through my webapp but this will not do with the Server. 
How Netty can help me with this kind of "asynchronous-ness" ? Which classes 
I should look into? Can it help me with matching request to response as 
well? 

I would appreciate any help. Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/1dd65dd5-e0bb-418b-a029-a475f47dd72b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to