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