|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SubscribeMessage | |
---|---|
rice.p2p.scribe | |
rice.p2p.scribe.testing |
Uses of SubscribeMessage in rice.p2p.scribe |
---|
Methods in rice.p2p.scribe with parameters of type SubscribeMessage | |
---|---|
boolean |
ScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method is called when the newChild is about to become our child, and the policy should return whether or not the child should be allowed to become our child. |
boolean |
ScribePolicy.DefaultScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method always return true; |
boolean |
ScribePolicy.LimitedScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
This method returns (children.length < maxChildren-1); |
Uses of SubscribeMessage in rice.p2p.scribe.testing |
---|
Methods in rice.p2p.scribe.testing with parameters of type SubscribeMessage | |
---|---|
boolean |
ScribeRegrTest.TestScribePolicy.allowSubscribe(SubscribeMessage message,
ScribeClient[] clients,
NodeHandle[] children)
|
|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |