springboot-netty icon indicating copy to clipboard operation
springboot-netty copied to clipboard

SpringBoot 整合 Netty 实战

Results 4 springboot-netty issues
Sort by recently updated
recently updated
newest added
trafficstars

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.5.1 to 3.16.3. Release notes Sourced from protobuf-java's releases. Protobuf Release v3.16.3 Java Refactoring java full runtime to reuse sub-message builders and prepare to migrate parsing logic...

dependencies

HeartbeatHandler没有空参构造器,却有new HeartbeatHandler()的代码,肯定不行的哈,编译不通过的哈。 还有一个疑问是,为啥客户端和服务端都用9000端口,不会报错呢?

![image](https://user-images.githubusercontent.com/30973587/103188021-b414f780-4901-11eb-922c-bac6ee1b7816.png) public class ClientHandlerInitializer extends ChannelInitializer { @Override protected void initChannel(Channel ch) throws Exception { ch.pipeline() .addLast(new IdleStateHandler(0, 10, 0)) .addLast(new ProtobufVarint32FrameDecoder()) .addLast(new ProtobufDecoder(MessageBase.Message.getDefaultInstance())) .addLast(new ProtobufVarint32LengthFieldPrepender()) .addLast(new ProtobufEncoder()) .addLast(new HeartbeatHandler())...

Bumps [netty-all](https://github.com/netty/netty) from 4.1.22.Final to 4.1.42.Final. Commits - [`bd907c3`](https://github.com/netty/netty/commit/bd907c3b3acf3d746ad1143270224aa0f784cd1b) [maven-release-plugin] prepare release netty-4.1.42.Final - [`2791f0f`](https://github.com/netty/netty/commit/2791f0fefac82663ca09dc8aa5dda024152c92f8) Avoid use of global AtomicLong for ScheduledFutureTask ids ([#9599](https://github-redirect.dependabot.com/netty/netty/issues/9599)) - [`86ff76a`](https://github.com/netty/netty/commit/86ff76a4f77662fe1bf61deeec5f3e39e16d4020) Fix incorrect comment ([#9598](https://github-redirect.dependabot.com/netty/netty/issues/9598))...

dependencies