• 请不要在回答技术问题时复制粘贴 AI 生成的内容
FelixLiu
V2EX  ›  程序员

服务器回调是通过 RPC 回调的吗?

  •  
  •   FelixLiu · Jun 5, 2019 · 2628 views
    This topic created in 2716 days ago, the information mentioned may be changed or developed.

    比如说: 我在 client 上操作一个东西,会改变远端存储的一些数据,操作成功后会通过回调, 告诉我操作的结果是什么。。succeess、failed、anyother。。。等等

    fkmc
    fkmc
    Jun 5, 2019
    1
    轮询 或 长连接
    opengps
    opengps
    Jun 5, 2019
    2
    同一楼,客户端只能去:刷新检查,或者使用长连接等待结果通知
    axbx
    axbx
    Jun 5, 2019
    3
    用消息队列做个回调队列
    FelixLiu
    FelixLiu
    OP
    Jun 5, 2019
    4
    我是看了一个 java 的这方面总结,想了解一下 c++这块具体是怎么做的。链接 base64 加密:aHR0cDovL2ppYW5nZXcubWUvZ3JwYy0wNC8=
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:15 · PVG 04:15 · LAX 12:15 · JFK 15:15
    ♥ Do have faith in what you're doing.