在heartbeat2这个包下面的NettyServerBootstrap这个类里面获取pipeline的时候出错,不是socktChannel.pipeline(),应该修改为ch.pipeline().
在heartbeat2这个包下面的NettyServerBootstrap这个类里面获取pipeline的时候出错,不是socktChannel.pipeline(),应该修改为ch.pipeline().