Beispiel #1
0
 public Broker(ArrayList clientConnections, Object profileLock, Object topicLock)
 {
     _clientConnections = clientConnections;
     profReadWrite      = new ProfilesReaderWriter(profileLock);
     topReadWrite       = new TopicReaderWriter(topicLock);
 }
Beispiel #2
0
 public void setWriters(ProfilesReaderWriter profReadWrite, TopicReaderWriter topReadWrite)
 {
     _profReadWrite = profReadWrite;
     _topReadWrite  = topReadWrite;
 }