Updated protobuf example in javadoc

This commit is contained in:
Trustin Lee 2009-01-06 06:01:18 +00:00
parent 8bba7ccb5b
commit 75234e4cea
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ import com.google.protobuf.Message;
*
* // Decoders
* pipeline.addLast("frameDecoder",
* new {@link LengthFieldBasedFrameDecoder}(1048576, 0, 4));
* new {@link LengthFieldBasedFrameDecoder}(1048576, 0, 4, 0, 4));
* pipeline.addLast("protobufDecoder",
* new {@link ProtobufDecoder}(MyMessage.getDefaultInstance()));
*

View File

@ -43,7 +43,7 @@ import com.google.protobuf.Message;
*
* // Decoders
* pipeline.addLast("frameDecoder",
* new {@link LengthFieldBasedFrameDecoder}(1048576, 0, 4));
* new {@link LengthFieldBasedFrameDecoder}(1048576, 0, 4, 0, 4));
* pipeline.addLast("protobufDecoder",
* new {@link ProtobufDecoder}(MyMessage.getDefaultInstance()));
*