incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Kambatla <kkamb...@cs.purdue.edu>
Subject Handling connection failures in Netty
Date Fri, 11 Nov 2011 19:25:05 GMT
How should we go about handling connection failures (not being able to
connect to) for a send().

We can either (1) throw java.net.ConnectException or (2) return false. In
the second case, we need to modify the Emitter.send to return boolean.
Comments?

Thanks
Karthik

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