Better socket cleanup for ActiveThread

This commit is contained in:
Edward Capriolo
2016-03-28 19:00:22 -04:00
parent 1d064f4676
commit 400d0760b6
4 changed files with 147 additions and 45 deletions

View File

@ -92,6 +92,10 @@ public abstract class GossipManager extends Thread implements NotificationListen
return _settings;
}
/**
*
* @return a read only list of members found in the UP state
*/
public List<LocalGossipMember> getMemberList() {
List<LocalGossipMember> up = new ArrayList<>();
for (Entry<LocalGossipMember, GossipState> entry : members.entrySet()){