/// <summary> /// This function is called by CacheStoppedCallback /// </summary> public void OnCacheStopped(string cacheId, EventContext eventContext) { //muds: //first of all fire the CacheStoppedCallback for the remote client. try { if (this._cacheStoppedEventRegistered) { CacheStopped(); } } catch (Exception e) { if (SocketServer.Logger.IsErrorLogsEnabled) { SocketServer.Logger.NCacheLog.Error(_cacheserver + ".OnCacheStopped", e.ToString()); } } //now break the connection of the socket server with the client. if (_client != null) { _client.OnCacheStopped(cacheId); } }
/// <summary> /// This function is called by CacheStoppedCallback /// </summary> public void OnCacheStopped(string cacheId, EventContext eventContext) { //break the connection of the socket server with the client. if (_client != null) { _client.OnCacheStopped(cacheId); } }