September 2002
Intermediate to advanced
416 pages
14h 46m
English
PeerAdvertisement
This advertisement represents the availability of a peer. Peer advertisements are created and published automatically when you join a peergroup; you can discover the advertisements of other peers via the discovery service. The advertisement contains the following properties:
Name
The name of the peer
ID
The unique ID of the peer
PeerGroupID
The unique ID of the peergroup in which this advertisement was found; peers that join multiple groups will publish their advertisement in each group
Description
The description of the peer
ServiceParams
The set of services that are registered with and available to the peer
public abstract class PeerAdvertisement extends net.jxta.document.Advertisement implements Cloneable { // Public Constructors public PeerAdvertisement(); // Public Class Methods public static String getAdvertisementType(); // Property Accessor Methods (by property name) public String getDebugLevel(); public void setDebugLevel(String debugLevel); public String getDescription(); public void setDescription(String description); public net.jxta.id.ID getID(); // Overrides:Advertisement public String getName(); public void setName(String name); public net.jxta.peergroup.PeerGroupID getPeerGroupID(); public void setPeerGroupID(net.jxta.peergroup.PeerGroupID gid); public net.jxta.peer.PeerID getPeerID(); public void setPeerID(net.jxta.peer.PeerID pid); public java.util.Hashtable getServiceParams(); public void setServiceParams(java.util.Hashtable ...
Read now
Unlock full access