Example #1
0
 public void RemoveListener(SubscribeCallback listener)
 {
     if (listenerManager != null)
     {
         listenerManager.RemoveListener(listener);
     }
 }
Example #2
0
 public bool AddListener(SubscribeCallback listener)
 {
     if (listenerManager == null)
     {
         listenerManager = new EndPoint.ListenerManager(pubnubConfig, jsonPluggableLibrary, pubnubUnitTest, pubnubLog, null, this);
     }
     return(listenerManager.AddListener(listener));
 }
Example #3
0
 public void RemoveListener(SubscribeCallback listener)
 {
     if (listenerManager != null)
     {
         listenerManager.RemoveListener(listener);
     }
     //EndPoint.ListenerManager listenerManager = new EndPoint.ListenerManager(pubnubConfig, jsonPluggableLibrary, pubnubUnitTest, pubnubLog);
     //listenerManager.CurrentPubnubInstance(this);
 }
Example #4
0
 public void AddListener(SubscribeCallback listener)
 {
     if (listenerManager == null)
     {
         listenerManager = new EndPoint.ListenerManager(pubnubConfig, jsonPluggableLibrary, pubnubUnitTest, pubnubLog, null);
         listenerManager.CurrentPubnubInstance(this);
     }
     listenerManager.AddListener(listener);
 }
Example #5
0
        public bool RemoveListener(SubscribeCallback listener)
        {
            bool ret = false;

            if (listenerManager != null)
            {
                ret = listenerManager.RemoveListener(listener);
            }
            return(ret);
        }