feat(新增): 🚀 PipLineServer的链式传输
This commit is contained in:
parent
9f4cdfb04f
commit
95f30e93aa
|
@ -36,6 +36,7 @@ public class PipLineServer {
|
||||||
@Override
|
@Override
|
||||||
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
|
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
|
||||||
log.info("第二个");
|
log.info("第二个");
|
||||||
|
// 将数据传输给下一个链,如果不使用下一个不会接受到相应内容
|
||||||
super.channelRead(ctx, msg);
|
super.channelRead(ctx, msg);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue