<div>Hi,<div><br></div><div>Let me assume that you are referring to the uptime example.</div><div><br></div><div>By writing a new ping message, writer becomes active due to the outbound traffic generated by itself. &nbsp;Because the uptime client does not send any message but the ping messages, the writer will become idle soon, and then another new ping message will be written. &nbsp;(i.e. sending a ping message periodically)</div><div><br></div><div>HTH</div></div>
                <div><br>--&nbsp;<br><a href="http://gleamynode.net/">Trustin Lee</a><br></div>
                 
                <p style="color: #A0A0A8;">On Tuesday, August 16, 2011 at 10:09 PM, kohowski wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>Greetings all!<br><br>I would appreciate if someone could clarify the idea of sending ping on<br>WRITER_IDLE state. I was looking through the example given in the javadoc<br>for IdleStateHandler class.. and stumbled at the point of ".writer (new<br>PingMessage())".<br><br>I wonder how sending ping can help or resolve the situation of idle writer?<br><br>Thanks in advance!<br><br>--<br>View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/idea-of-sending-ping-on-WRITER-IDLE-state-tp6691240p6691240.html">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/idea-of-sending-ping-on-WRITER-IDLE-state-tp6691240p6691240.html</a><br>Sent from the Netty User Group mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>netty-users mailing list<br><a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a><br></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>