|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.impl.protocol.DiscoveryConfigAdv
Contains parameters for configuration of the Reference Implemenation Rendezvous Service.
Nested Class Summary | |
static class |
DiscoveryConfigAdv.Instantiator
Instantiator for DiscoveryConfigAdv |
Constructor Summary | |
(package private) |
DiscoveryConfigAdv()
Use the Instantiator through the factory |
(package private) |
DiscoveryConfigAdv(Element root)
Use the Instantiator through the factory |
Method Summary | |
Object |
clone()
Make a safe clone of this DiscoveryConfigAdv. |
static String |
getAdvertisementType()
{@inheritDoc} |
String |
getAdvType()
|
String |
getBaseAdvType()
|
Document |
getDocument(MimeMediaType encodeAs)
|
boolean |
getForwardAlwaysReplica()
True if this discovery service will forward queries to the replica peer in all cases, rather than only in the absence of local responses. |
boolean |
getForwardBelowTreshold()
True if this discovery service will forward queries when the number of local responses is below the specified treshold, rather than only in the absence of local responses. |
ID |
getID()
|
String[] |
getIndexFields()
|
boolean |
getLocalOnly()
True if this discovery service performs only local discovery. |
void |
setForwardAlwaysReplica(boolean newvalue)
Specifies if this discovery service will forward queries to the replica peer in all cases, rather than only in the absence of local responses. |
void |
setForwardBelowTreshold(boolean newvalue)
Specifies if this discovery service will forward queries when the number of local responses is below the specified treshold, rather than only in the absence of local responses. |
void |
setLocalOnly(boolean newvalue)
Specifies if this discovery service will perform local only discovery. |
Methods inherited from class net.jxta.document.ExtendableAdvertisement |
handleElement |
Methods inherited from class net.jxta.document.Advertisement |
toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
DiscoveryConfigAdv()
DiscoveryConfigAdv(Element root)
Method Detail |
public Object clone()
public static String getAdvertisementType()
public String getAdvType()
public final String getBaseAdvType()
public ID getID()
public Document getDocument(MimeMediaType encodeAs)
public String[] getIndexFields()
public boolean getForwardAlwaysReplica()
public void setForwardAlwaysReplica(boolean newvalue)
public boolean getForwardBelowTreshold()
public void setForwardBelowTreshold(boolean newvalue)
public boolean getLocalOnly()
public void setLocalOnly(boolean newvalue)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |