Custom channel identifier alternative

fatzopilot fatzopilot at gmx.net
Sun Jul 26 09:12:41 EDT 2009


Hi,

Frederic, first of all, thanks for your suggestions.
I use a somewhat unrealiable connection (mobile), and sometimes there is a
timeout at the client side which the server does not notice. The client then
tries to reconnect (sometimes even with a different IP) but the former
channel stays open. I don't know however, if this is a general
charachteristic of socket connections or if it is specific to the former
socket framework I used (and won't happen with Netty therefor).
So, what I need when a new channel is established is to check (using the
unique client ID) if my client has already connected to a different channel,
and if so, get this channel and close it. 
I do not see this is possible with the ChannelLocal or channel handler
attribute or am I wrong?
Are there other options? 

Thank
fatzopilot
-- 
View this message in context: http://n2.nabble.com/Custom-channel-identifier-alternative-tp3326889p3328982.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list