Removed unnecessary empty lines in the program listing
This commit is contained in:
parent
1313ca5b17
commit
e1c2c453c5
@ -781,15 +781,13 @@ public class TimeDecoder extends &FrameDecoder; {
|
||||
we should modify the &ChannelPipelineFactory; implementation in the
|
||||
<classname>TimeClient</classname>:
|
||||
</para>
|
||||
<programlisting>
|
||||
bootstrap.setPipelineFactory(new &ChannelPipelineFactory;() {
|
||||
<programlisting> bootstrap.setPipelineFactory(new &ChannelPipelineFactory;() {
|
||||
public &ChannelPipeline; getPipeline() {
|
||||
return &Channels;.pipeline(
|
||||
new TimeDecoder(),
|
||||
new TimeClientHandler());
|
||||
}
|
||||
});
|
||||
</programlisting>
|
||||
});</programlisting>
|
||||
<para>
|
||||
If you are an adventurous person, you might want to try the
|
||||
&ReplayingDecoder; which simplifies the decoder even more. You will
|
||||
|
Loading…
Reference in New Issue
Block a user