Exemple #1
0
 public bool AddListener(SubscribeCallback listener)
 {
     if (listenerManager == null)
     {
         listenerManager = new EndPoint.ListenerManager(pubnubConfig, jsonPluggableLibrary, pubnubUnitTest, pubnubLog, null, this);
     }
     return(listenerManager.AddListener(listener));
 }
Exemple #2
0
 public void AddListener(SubscribeCallback listener)
 {
     if (listenerManager == null)
     {
         listenerManager = new EndPoint.ListenerManager(pubnubConfig, jsonPluggableLibrary, pubnubUnitTest, pubnubLog);
         listenerManager.CurrentPubnubInstance(this);
     }
     listenerManager.AddListener(listener);
 }