ITeye博客

netty

共 2 篇文章

netty简单的操作memcached

pom文件 <dependency> <groupId>io.netty</groupId> <artifactId>netty-example</artifactId> <version>4.1.8.Final</version> <exclusions> <exclusion> <artifactId>netty-tcnative</artifactId> <groupId>io.netty</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.netty</groupId> <artifa…

2017-04-19 18:59 · J2EE · netty

netty客户端与服务端例子

package com.snailteam.netty; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocket…

2017-03-12 20:07 · J2EE · netty