Esempio n. 1
0
 public Topic(Guid id, string topicName, IPubServer tcpPubServer)
 {
     _id           = id;
     _name         = topicName;
     _sessions     = new Dictionary <Guid, Session>();
     _tcpPubServer = tcpPubServer;
 }
Esempio n. 2
0
 internal TopicCollection(IPubServer tcpPubServer)
 {
     _topics       = new Dictionary <Guid, Topic>();
     _tcpPubServer = tcpPubServer;
 }
Esempio n. 3
0
 public Publisher(IPubServer tcpPubServer, int portNumber)
 {
     _tcpPubServer = tcpPubServer;
     _topics       = new TopicCollection(_tcpPubServer);
     _sessions     = new PubSessionCollection();
 }