|
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
public final class DiscoveryConfigAdv
Contains parameters for configuration of the Reference Implemenation Rendezvous Service.
Nested Class Summary | |
---|---|
static class |
DiscoveryConfigAdv.Instantiator
Instantiator for DiscoveryConfigAdv |
Constructor Summary | |
---|---|
DiscoveryConfigAdv()
Use the Instantiator through the factory |
|
DiscoveryConfigAdv(Element root)
Use the Instantiator through the factory |
Method Summary | |
---|---|
Object |
clone()
Make a safe clone of this DiscoveryConfigAdv. |
static String |
getAdvertisementType()
|
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()
clone
in class Advertisement
public static String getAdvertisementType()
public String getAdvType()
getAdvType
in class Advertisement
public final String getBaseAdvType()
getBaseAdvType
in class ExtendableAdvertisement
public ID getID()
getID
in class Advertisement
public Document getDocument(MimeMediaType encodeAs)
getDocument
in class ExtendableAdvertisement
public String[] getIndexFields()
getIndexFields
in class Advertisement
public boolean getForwardAlwaysReplica()
public void setForwardAlwaysReplica(boolean newvalue)
boolean
- The new setting.public boolean getForwardBelowTreshold()
public void setForwardBelowTreshold(boolean newvalue)
boolean
- The new setting.public boolean getLocalOnly()
public void setLocalOnly(boolean newvalue)
boolean
- The new setting.
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |