Esempio n. 1
0
 public override void BeginLifecycle()
 {
     if (_isAlive)
     {
         return;
     }
     _isAlive = true;
     _watcher.Activate();
     ReceiveManager.RegisterListMember(_listInfo);
 }
Esempio n. 2
0
 public override void Activate()
 {
     if (_isActivated)
     {
         return;
     }
     _isActivated = true;
     _watcher.Activate();
     if (!String.IsNullOrEmpty(_receiverScreenName))
     {
         ReceiveManager.RegisterList(_receiverScreenName, _listInfo);
     }
     else
     {
         ReceiveManager.RegisterList(_listInfo);
     }
 }