jxl.peermi
Class PeerManager<T extends PeerRemote>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<E>
              extended by jxl.peermi.PeerHashSet<T>
                  extended by jxl.peermi.PeerManager<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.Set<T>, DiscoveryListener

public class PeerManager<T extends PeerRemote>
extends PeerHashSet<T>
implements DiscoveryListener

Author:
Alex Lynch (jxlynch@users.sf.net)
See Also:
Serialized Form

Constructor Summary
protected PeerManager(java.lang.Class<T> type)
          Creates a new instance of PeerManager
 
Method Summary
 void discovery(PeerRemote remote)
           
 
Methods inherited from class jxl.peermi.PeerHashSet
add, addAll, iterator
 
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

PeerManager

protected PeerManager(java.lang.Class<T> type)
Creates a new instance of PeerManager

Method Detail

discovery

public void discovery(PeerRemote remote)
Specified by:
discovery in interface DiscoveryListener