/// <summary> /// Construct a <seealso cref="SnapshotTaker"/> which will encode the snapshot to a publication. /// </summary> /// <param name="publication"> into which the snapshot will be encoded. </param> /// <param name="idleStrategy"> to call when the publication is back pressured. </param> /// <param name="aeronAgentInvoker"> to call when idling so it stays active. </param> public SnapshotTaker(ExclusivePublication publication, IIdleStrategy idleStrategy, AgentInvoker aeronAgentInvoker) { this.publication = publication; this.idleStrategy = idleStrategy; this.aeronAgentInvoker = aeronAgentInvoker; }
public void OnTakeSnapshot(ExclusivePublication snapshotPublication) { Console.WriteLine("OnTakeSnapshot"); }
internal ServiceSnapshotTaker(ExclusivePublication publication, IIdleStrategy idleStrategy, AgentInvoker aeronClientInvoker) : base(publication, idleStrategy, aeronClientInvoker) { }