Example #1
0
 /// <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;
 }
Example #2
0
 public void OnTakeSnapshot(ExclusivePublication snapshotPublication)
 {
     Console.WriteLine("OnTakeSnapshot");
 }
 internal ServiceSnapshotTaker(ExclusivePublication publication, IIdleStrategy idleStrategy, AgentInvoker aeronClientInvoker)
     : base(publication, idleStrategy, aeronClientInvoker)
 {
 }