org.net2map.pov.p2p.PeerList Class Reference

Inheritance diagram for org.net2map.pov.p2p.PeerList:

Inheritance graph
[legend]
Collaboration diagram for org.net2map.pov.p2p.PeerList:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
moi

Definition at line 41 of file PeerList.java.

Public Member Functions

 PeerList (org.net2map.pov.p2p.ParameterSet newParameterSet)
 Creates new PeerList.

String getSampleProperty ()
void setSampleProperty (String value)
void addPropertyChangeListener (PropertyChangeListener listener)
void removePropertyChangeListener (PropertyChangeListener listener)
void run ()
 When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

void discoveryEvent (net.jxta.discovery.DiscoveryEvent discoveryEvent)

Static Package Attributes

PeerGroup netPeerGroup = null

Private Member Functions

void startJxta ()

Private Attributes

String sampleProperty
PropertyChangeSupport propertySupport
org.net2map.pov.p2p.ParameterSet theParameterSet
DiscoveryService discovery

Static Private Attributes

final String PROP_SAMPLE_PROPERTY = "SampleProperty"


Constructor & Destructor Documentation

org.net2map.pov.p2p.PeerList.PeerList org.net2map.pov.p2p.ParameterSet  newParameterSet  ) 
 

Creates new PeerList.

Definition at line 60 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.propertySupport, and org.net2map.pov.p2p.PeerList.theParameterSet.


Member Function Documentation

void org.net2map.pov.p2p.PeerList.addPropertyChangeListener PropertyChangeListener  listener  ) 
 

Definition at line 80 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.propertySupport.

void org.net2map.pov.p2p.PeerList.discoveryEvent net.jxta.discovery.DiscoveryEvent  discoveryEvent  ) 
 

Definition at line 148 of file PeerList.java.

String org.net2map.pov.p2p.PeerList.getSampleProperty  ) 
 

Definition at line 67 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.sampleProperty.

void org.net2map.pov.p2p.PeerList.removePropertyChangeListener PropertyChangeListener  listener  ) 
 

Definition at line 85 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.propertySupport.

void org.net2map.pov.p2p.PeerList.run  ) 
 

When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

See also:
java.lang.Thread#run()

Definition at line 119 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.discovery, and org.net2map.pov.p2p.PeerList.startJxta().

Here is the call graph for this function:

void org.net2map.pov.p2p.PeerList.setSampleProperty String  value  ) 
 

Definition at line 72 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.PROP_SAMPLE_PROPERTY, org.net2map.pov.p2p.PeerList.propertySupport, and org.net2map.pov.p2p.PeerList.sampleProperty.

void org.net2map.pov.p2p.PeerList.startJxta  )  [private]
 

Definition at line 91 of file PeerList.java.

References org.net2map.pov.p2p.PeerList.discovery, and org.net2map.pov.p2p.PeerList.netPeerGroup.

Referenced by org.net2map.pov.p2p.PeerList.run().


Member Data Documentation

DiscoveryService org.net2map.pov.p2p.PeerList.discovery [private]
 

Definition at line 57 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.run(), and org.net2map.pov.p2p.PeerList.startJxta().

PeerGroup org.net2map.pov.p2p.PeerList.netPeerGroup = null [static, package]
 

Definition at line 56 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.startJxta().

final String org.net2map.pov.p2p.PeerList.PROP_SAMPLE_PROPERTY = "SampleProperty" [static, private]
 

Definition at line 48 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.setSampleProperty().

PropertyChangeSupport org.net2map.pov.p2p.PeerList.propertySupport [private]
 

Definition at line 52 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.addPropertyChangeListener(), org.net2map.pov.p2p.PeerList.PeerList(), org.net2map.pov.p2p.PeerList.removePropertyChangeListener(), and org.net2map.pov.p2p.PeerList.setSampleProperty().

String org.net2map.pov.p2p.PeerList.sampleProperty [private]
 

Definition at line 50 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.getSampleProperty(), and org.net2map.pov.p2p.PeerList.setSampleProperty().

org.net2map.pov.p2p.ParameterSet org.net2map.pov.p2p.PeerList.theParameterSet [private]
 

Definition at line 54 of file PeerList.java.

Referenced by org.net2map.pov.p2p.PeerList.PeerList().


The documentation for this class was generated from the following file:
Accueil | Téléchargement | Manuel | Doc. technique | Sources CVS | Faq | Nous contacter
©2003 - All Rights Reserved