September 2002
Intermediate to advanced
416 pages
14h 46m
English
RdvAdvertisement
This class is published by peers that agree to act as rendezvous peers. It is constructed and discovered transparently to the developer. It holds three fields: the name of the peer, its peer ID, and the ID of the peergroup that the peer belongs to.
public abstract class RdvAdvertisement extends net.jxta.document.Advertisement { // Public Constructors public RdvAdvertisement(); // Public Class Methods public static String getAdvertisementType(); // Property Accessor Methods (by property name) public net.jxta.peergroup.PeerGroupID getGroupID(); public void setGroupID(net.jxta.peergroup.PeerGroupID id); public String getName(); public void setName(String n); public net.jxta.peer.PeerID getPeerID(); public void setPeerID(net.jxta.peer.PeerID id); }
Read now
Unlock full access