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