public void Start(ICollection <IEventListener> configuredListeners)
 {
     ListenerService.RegisterConfigListeners <ILifecycleListener>(configuredListeners, AddLifecycleListener);
     FireLifecycleEvent(LifecycleEvent.LifecycleState.Starting);
     _active.Set(true);
     FireLifecycleEvent(LifecycleEvent.LifecycleState.Starting);
 }
Beispiel #2
0
 private void AddClientConfigAddedListeners(ICollection <IEventListener> configuredListeners)
 {
     ListenerService.RegisterConfigListeners <IDistributedObjectListener>(configuredListeners,
                                                                          ProxyManager.AddDistributedObjectListener);
     ListenerService.RegisterConfigListeners <IPartitionLostListener>(configuredListeners,
                                                                      PartitionService.AddPartitionLostListener);
 }