Skip to content
#

rpc

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

advanced-java

😮 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识,后端同学必看,前端同学也可学习

  • Updated Jul 12, 2020
  • Java
jjn555
jjn555 commented Mar 2, 2020

I have this schema I want to implement but I am finding it very difficult to find documentation to perform the serialization and deserialization for C++. The existing tutorial and documentation do not seem to describe this scenario which I am assuming is quite common. Can someone point me to any example or documentation that describes this?

tb.fbs:

namespace TB;

table Proj {
idx:int64

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

Improve this page

Add a description, image, and links to the rpc 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 rpc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.