|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object base.DiscoveryDemo
public class DiscoveryDemo
Constructor Summary | |
---|---|
DiscoveryDemo()
|
Method Summary | |
---|---|
void |
discoveryEvent(net.jxta.discovery.DiscoveryEvent ev)
by implementing DiscoveryListener we must define this method to deal to discovery responses |
static void |
main(java.lang.String[] args)
|
void |
run()
This thread loops forever discovering peers every minute, and displaying the results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscoveryDemo()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
public void discoveryEvent(net.jxta.discovery.DiscoveryEvent ev)
discoveryEvent
in interface net.jxta.discovery.DiscoveryListener
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |