Skip to content
Snippets Groups Projects
  • George Kiagiadakis's avatar
    753e7085
    object-manager: refactor to be able to track locally created proxies · 753e7085
    George Kiagiadakis authored
    There are 3 kinds of WpProxy objects:
     * the ones that are created as a result of binding a global
       from the registry
     * the ones that are created as a result of calling into a remote
       factory (wp_node_new_from_factory, etc...)
     * the ones that are a local implementation of an object
       (WpImplNode, etc...) and are exported
    
    Previously the object manager was only able to track the first kind.
    With these changes we can now also have globals associated with
    WpProxies that were created earlier (and caused the creation of the global).
    This saves some resources and reduces round-trips (in case client
    code wants to change properties of an object that is locally
    implemented, it shouldn't need to do a round-trip through the server)
    753e7085
    History
    object-manager: refactor to be able to track locally created proxies
    George Kiagiadakis authored
    There are 3 kinds of WpProxy objects:
     * the ones that are created as a result of binding a global
       from the registry
     * the ones that are created as a result of calling into a remote
       factory (wp_node_new_from_factory, etc...)
     * the ones that are a local implementation of an object
       (WpImplNode, etc...) and are exported
    
    Previously the object manager was only able to track the first kind.
    With these changes we can now also have globals associated with
    WpProxies that were created earlier (and caused the creation of the global).
    This saves some resources and reduces round-trips (in case client
    code wants to change properties of an object that is locally
    implemented, it shouldn't need to do a round-trip through the server)