2 Replies Latest reply on Jan 20, 2017 12:36 PM by richardbinbin

    EventListener tutorial for .Net Hot Rod Client 8.1 beta1?

    richardbinbin

      Hi,

       

      I'm trying to test the EventListener implemented in .Net Hot Rod Client 8.1 beta1. Could somebody provides a simple tutorial for it?

      Below is my test code. Inside of the IRemoteCache.addClientListener, what does string[] filterFactoryParams, string[] converterFactoryParams, Action recoveryCallback mean? How to initialize them? Thanks a lot.

       

       

      IRemoteCache<string, string> remoteCache = rmCacheManager.GetCache<string, string>("");

      ClientListener<string, string> clientListener = new ClientListener<string, string>;

      clientListener.addListener(CacheEntryCreatedEventAction);

      clientListener.addListener(CacheEntryModifiedEventAction);

      remoteCache.addClientListener(clientListener, ?, ?, ?);