public void BindGrainReference(Assembly assembly, IAddressable grain)
 {
     _clusterClientFactory.Create(assembly).BindGrainReference(grain);
 }
Beispiel #2
0
 public Task <TGrainObserverInterface> CreateObjectReference <TGrainObserverInterface>(IGrainObserver obj) where TGrainObserverInterface : IGrainObserver
 {
     return(_clusterClientFactory.Create <TGrainObserverInterface>().CreateObjectReference <TGrainObserverInterface>(obj));
 }
 public TGrainInterface GetGrain <TGrainInterface>(Guid primaryKey, string grainClassNamePrefix = null) where TGrainInterface : IGrainWithGuidKey
 {
     return(_clusterClientFactory.Create <TGrainInterface>().GetGrain <TGrainInterface>(primaryKey, grainClassNamePrefix));
 }