Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Remote object sharing (OO RPC)
Forum Update on Monday, May 27th 2025

Remote object sharing (OO RPC)

Scheduled Pinned Locked Moved Unsolved General and Desktop
rpcserver - clientserializationnetworknetwork socket
3 Posts 2 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Hamed.MasafiH Offline
    Hamed.MasafiH Offline
    Hamed.Masafi
    wrote on last edited by Hamed.Masafi
    #1

    Hi,
    I want to share my latest work with you. My solution is a library that can share objects between server and client.
    In simple example you have a class names User on server side you have a QList<User*> and in each client a User. When you have change a property of User on client side the related User in the list will be changed and it's notify will be emitted. Every methods in this classes is 2way, calling a method in server/client side will be call whole method or it's signal on other peer. Methodology in this lib is sync/async. Sync methods have several way for waiting (like QEventLoop, c++11 std::function callback, slot name callback, QMetaMethod for callback and qml function callback is next feature). Peers are generated with a simple command line tool.
    It support multiple data type, in fact every type that can used with QVariant (even QPixmap) else pointers[!].
    Some other feature like auto reconnect, singleton server object sharing and etc will be implemented.
    I have develop core of this lib for real-time multi player game. But it can be use for every client/server based app. For more example take a look to RpcChat sample in repo.
    This lib is in alpha state and it will be released as v0.1 if other developers like to have it.
    Please fork and tell me any idea (like and dislike)
    Excuse for my bad English!
    https://github.com/HamedMasafi/noron

    Remote object sharing (OO RPC)
    http://forum.qt.io/topic/60680/remote-object-sharing-oo-rpc-solved

    Advanced, Powerful and easy to use ORM for Qt5
    https://forum.qt.io/topic/67417/advanced-powerful-and-easy-to-use-orm-for-qt5

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Thanks for sharing !

      When reaching stable state you could also make it available through inqlude

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Hamed.MasafiH 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Thanks for sharing !

        When reaching stable state you could also make it available through inqlude

        Hamed.MasafiH Offline
        Hamed.MasafiH Offline
        Hamed.Masafi
        wrote on last edited by
        #3

        @SGaist Hi, However is in my plan.

        Remote object sharing (OO RPC)
        http://forum.qt.io/topic/60680/remote-object-sharing-oo-rpc-solved

        Advanced, Powerful and easy to use ORM for Qt5
        https://forum.qt.io/topic/67417/advanced-powerful-and-easy-to-use-orm-for-qt5

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved