September 2002
Intermediate to advanced
416 pages
14h 46m
English
DiscoveryQueryMsg
A discovery query message is sent as the first step in the PDP. This message contains the following data values:
Threshold
The number of query responses requested
Type
The
type of discovery ( PEER, ADV,
or GROUP )
Adv
The advertisement of the peer initiating discovery
Attr
The name of the field being queried
Value
The value of the field being queried
public abstract class DiscoveryQueryMsg { // Public Constructors public DiscoveryQueryMsg(); // Public Class Methods public static String getAdvertisementType(); // Property Accessor Methods (by property name) public String getAttr(); public void setAttr(String attr); public int getDiscoveryType(); public void setDiscoveryType(int type); public String getPeerAdv(); public void setPeerAdv(String peer); public int getThreshold(); public void setThreshold(int threshold); public String getValue(); public void setValue(String value); // Public Instance Methods public abstract net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType) throws Exception; // Public Instance Fields public int type; }
Read now
Unlock full access