コード例 #1
0
ファイル: Broker.cs プロジェクト: xorobabel/Pub-Sub-Broker
 public Broker(ArrayList clientConnections, Object profileLock, Object topicLock)
 {
     _clientConnections = clientConnections;
     profReadWrite      = new ProfilesReaderWriter(profileLock);
     topReadWrite       = new TopicReaderWriter(topicLock);
 }
コード例 #2
0
 public void setWriters(ProfilesReaderWriter profReadWrite, TopicReaderWriter topReadWrite)
 {
     _profReadWrite = profReadWrite;
     _topReadWrite  = topReadWrite;
 }