Fixed a typo in the User Guide code
This commit is contained in:
parent
026fc520bb
commit
6173181792
@ -238,7 +238,7 @@ public class DiscardServer {
|
|||||||
public void messageReceived(&ChannelHandlerContext; ctx, &MessageEvent; e) {
|
public void messageReceived(&ChannelHandlerContext; ctx, &MessageEvent; e) {
|
||||||
&ChannelBuffer;<co id="example.discard3.co1"/> buf = (ChannelBuffer) e.getMessage();
|
&ChannelBuffer;<co id="example.discard3.co1"/> buf = (ChannelBuffer) e.getMessage();
|
||||||
while(buf.readable()) {
|
while(buf.readable()) {
|
||||||
System.out.println((char) buf.readByte(i));
|
System.out.println((char) buf.readByte());
|
||||||
}
|
}
|
||||||
}</programlisting>
|
}</programlisting>
|
||||||
<calloutlist>
|
<calloutlist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user