V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
FelixLiu
V2EX  ›  程序员

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

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

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

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