Пример #1
0
 /// Create a new component on the target locality.
 explicit managed_refcnt_monitor(
     naming::id_type const& locality
     )
   : locality_(naming::get_locality_from_id(locality))
 {
     this->base_type::create(locality_, flag_.get_gid());
 }
Пример #2
0
 /// Create a new component on the target locality.
 explicit simple_refcnt_monitor(
     naming::id_type const& locality
     )
   : locality_(naming::get_locality_from_id(locality))
 {
     gid_ = stub_type::create_async(locality_, flag_.get_gid());
 }