Exemple #1
0
 public Topic(uint storeSize)
 {
     Subscriptions    = new List <ISubscription>();
     Store            = new MessageStore <Message>(storeSize);
     SubscriptionLock = new ReaderWriterLockSlim();
 }
Exemple #2
0
 public Topic()
 {
     Subscriptions = new List <Subscription>();
     Store         = new MessageStore <Message>(DefaultMessageStoreSize);
 }