a2888409 / face2face Goto Github PK
View Code? Open in Web Editor NEW基于netty的异步非阻塞实时聊天(IM)服务器。
基于netty的异步非阻塞实时聊天(IM)服务器。
google的protobuf下载不了,您是如何解决的
_stop变量是存在线程安全的吧
大神,能不能把这个lambda表达式用非lambda写一次,这里的调用不是很懂。谢谢
debug跟踪,发现logic的CprivateChat消息通过auth转发到gate,logic也有gate的连接,为什么要通过auth转发呢
流程不理解
README 文件中说需要配置服务启动项 program argument 的 -cfg 选项,但是 starter 中的代码不仅需要 -cfg 选项还需要 -log 选项,这里 -log 参数是为了初始化 log 变量,但是这个 log 变量并没有使用。
所有的都自动化处理。
看了两遍了。
希望作者持续更新。
你好博主,根据你的步骤在redis-server.exe redis.windos.conf时候报了redis-server.exe redis.windos.conf的错误,新手一名求指导
integrate with jacoco and coverall, findbugs
如题
导致其他类引用会出错
怎么配置program arguments,最好把图贴出来。
当接收到连接时,
public static void addClientConnection(ChannelHandlerContext c) {
//fixme 之后重复登录需要踢掉原来的连接
ClientConnection conn = new ClientConnection(c);
if(ClientConnectionMap.allClientMap.putIfAbsent(conn.getNetId(), conn) != null) {
logger.error("Duplicated netid");
}
}
这里什么case会 != null呢 ? 因为每次都是new 一个新的Connection ,然后id会incrementAndGet
另外如果重复登录要踢掉原来的连接,如何知道是重复登录呢?
你这个客户端的压测只会开启一个线程发送.是否已经设置成多个线程来压测
Netty 自带一个executionhandler 是不是同样也会开启一个线程处理紧接着的handler 。请大神说一说这个works 的妙用! 说的尽量详细点 先谢过!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.