|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.scribe.ScribePolicy.DefaultScribePolicy rice.p2p.scribe.testing.RawScribeRegrTest.TestScribePolicy
DESCRIBE THE CLASS
Nested Class Summary |
Nested classes inherited from class rice.p2p.scribe.ScribePolicy |
ScribePolicy.DefaultScribePolicy, ScribePolicy.LimitedScribePolicy |
Field Summary | |
protected boolean |
allowSubscribe
DESCRIBE THE FIELD |
protected boolean |
neverAllowSubscribe
DESCRIBE THE FIELD |
protected Scribe |
scribe
DESCRIBE THE FIELD |
Fields inherited from class rice.p2p.scribe.ScribePolicy.DefaultScribePolicy |
environment |
Constructor Summary | |
RawScribeRegrTest.TestScribePolicy(Scribe scribe)
Constructor for TestScribePolicy. |
Method Summary | |
void |
allowSubscribe(boolean allowSubscribe)
DESCRIBE THE METHOD |
boolean |
allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
DESCRIBE THE METHOD |
void |
neverAllowSubscribe(boolean neverAllowSubscribe)
DESCRIBE THE METHOD |
Methods inherited from class rice.p2p.scribe.ScribePolicy.DefaultScribePolicy |
childAdded, childRemoved, directAnycast |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Scribe scribe
protected boolean allowSubscribe
protected boolean neverAllowSubscribe
Constructor Detail |
public RawScribeRegrTest.TestScribePolicy(Scribe scribe)
scribe
- DESCRIBE THE PARAMETERMethod Detail |
public void allowSubscribe(boolean allowSubscribe)
allowSubscribe
- DESCRIBE THE PARAMETERpublic void neverAllowSubscribe(boolean neverAllowSubscribe)
neverAllowSubscribe
- DESCRIBE THE PARAMETERpublic boolean allowSubscribe(SubscribeMessage message, ScribeClient[] clients, NodeHandle[] children)
allowSubscribe
in interface ScribePolicy
allowSubscribe
in class ScribePolicy.DefaultScribePolicy
message
- DESCRIBE THE PARAMETERclients
- DESCRIBE THE PARAMETERchildren
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |