Skip to content
#

netty

Here are 1,100 public repositories matching this topic...

anasmi
anasmi commented Oct 12, 2019

It would be nice to pass multiple actions to a checkIf method , the same way as a check allows through the comma.

So, for example, instead of writing this:

.check(
   checkIf("${first.exists()}")(do_first),
   checkIf("$first.exists()}")(do_second), 
   checkIf("${first.exists()}")do_third)

it would be nice to have API as follows:

check(checkIf("${first.exists()}")(do
armeria
ikhoon
ikhoon commented Mar 19, 2020

In our codebase, we push RequestContext and immediately run some code with try-with-resources.
For example:

try (SafeCloseable ignored = ctx.push()) {
    logger.trace(decorate(msg));
}

If RequestContext provides run(Runnable) or call(Callable) we can reduce boilerplate code and simplify it.

ctx.run(() -> logger.trace(decorate(msg));

This is inspired by g

Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes

  • Updated Oct 2, 2020
  • Java

使用netty4.X实现的手机游戏分布式服务器,支持tcp,udp,http,websocket链接,采用protobuf自定义协议栈进行网络通信,支持rpc远程调用,使用mybatis3支持db存储分库分表,支持异步mysql存储,db保存时同步更新reids缓存。 使用ExcelToCode工程,将excel数据生成java类和json数据字典,DictService直接读取json,减少数据字典部分代码。使用game-executor工程,增加游戏内的异步事件全局服务, 支持事件sharding,均衡的异步执行事件逻辑

  • Updated Oct 12, 2020
  • Java

Improve this page

Add a description, image, and links to the netty topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the netty topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.