private void StopReplication() { if (this.replicationAssistant != null) { this.replicationAssistant.Stop(); this.replicationAssistant = null; } }
protected virtual void OnPeerAttached() { if (log.IsDebugEnabled) { log.DebugFormat("Peer attached to context:{0}", this); } this.replicationAssistant = new ReplicationAssistant(this, this.application.DefaultApplication); this.ScheduleReplicationFinishCheck(); }