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