base.jdbs.network
Class PeerDiscoveryThread
java.lang.Object
java.util.Observable
base.jdbs.network.PeerDiscoveryThread
- All Implemented Interfaces:
- java.lang.Runnable
public class PeerDiscoveryThread
- extends java.util.Observable
- implements java.lang.Runnable
- Author:
- skunk
Method Summary |
void |
addPeer(net.jxta.protocol.PeerAdvertisement peerAdvertisement,
net.jxta.peergroup.PeerGroup peerGroup)
|
JDBSPeer[] |
getPeer()
|
net.jxta.peergroup.PeerGroup |
getPeerGroup()
|
void |
run()
|
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THREAD_NAME
public static final java.lang.String THREAD_NAME
- See Also:
- Constant Field Values
DISCOVERY_INTERVAL
public static final int DISCOVERY_INTERVAL
- See Also:
- Constant Field Values
PeerDiscoveryThread
public PeerDiscoveryThread(net.jxta.peergroup.PeerGroup peerGroup)
getPeer
public JDBSPeer[] getPeer()
addPeer
public void addPeer(net.jxta.protocol.PeerAdvertisement peerAdvertisement,
net.jxta.peergroup.PeerGroup peerGroup)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getPeerGroup
public net.jxta.peergroup.PeerGroup getPeerGroup()
- Returns:
- Returns the peerGroup.
Copyright © 2006 SF.net. All Rights Reserved.