Example #1
0
 private void banner(NatsOptions options)
 {
     Console.WriteLine("Receiving {0} messages on subject {1}",
                       options.Count, options.Subject);
     Console.WriteLine("  Url: {0}", options.Url);
     Console.WriteLine("  Subject: {0}", options.Subject);
     Console.WriteLine("  Receiving: {0}",
                       options.Sync ? "Synchronously" : "Asynchronously");
 }
Example #2
0
 public Subscriber(NatsOptions options)
 {
     this.options = options;
 }