|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.multicast.ScribeMulticastService.ScribeMember
Field Summary | |
(package private) MulticastMember |
_mcmember
|
Constructor Summary | |
ScribeMulticastService.ScribeMember(MulticastMember mcmember)
|
Method Summary | |
boolean |
anycastHandler(rice.scribe.messaging.ScribeMessage msg)
Invoked by underlying scribe when it receives a anycast Message, to check if there is a local application which can take care of this anycast message. |
void |
faultHandler(rice.scribe.messaging.ScribeMessage msg,
rice.pastry.NodeHandle faultyParent)
Invoked by Scribe just before the "repair" SUBSCRIBE message is sent when a node suspects its parent is faulty. |
void |
forwardHandler(rice.scribe.messaging.ScribeMessage msg)
Called by Scribe before the node forwards a message to its children in the multicast tree. |
void |
isNewRoot(rice.pastry.NodeId topicId)
Upcall made by scribe to registered applications to inform them that local node is now the root for some topic, and hence can take appropriate action. |
void |
newParent(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle newParent,
java.io.Serializable data)
Upcall made by scribe to the registered applications to inform them that a new parent is found for local node in the topic tree. |
void |
receiveMessage(rice.scribe.messaging.ScribeMessage msg)
up-call invoked by scribe when a publish message is 'delivered'. |
void |
scribeIsReady()
Invoked when the underlying Scribe substrate is ready. |
void |
subscribeHandler(rice.pastry.NodeId topicId,
rice.pastry.NodeHandle child,
boolean wasAdded,
java.io.Serializable obj)
Invoked by Scribe after a child is added to or removed from one of the node's children tables. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
MulticastMember _mcmember
Constructor Detail |
public ScribeMulticastService.ScribeMember(MulticastMember mcmember)
Method Detail |
public void scribeIsReady()
scribeIsReady
in interface rice.scribe.IScribeApp
public void receiveMessage(rice.scribe.messaging.ScribeMessage msg)
receiveMessage
in interface rice.scribe.IScribeApp
public void forwardHandler(rice.scribe.messaging.ScribeMessage msg)
forwardHandler
in interface rice.scribe.IScribeApp
public void subscribeHandler(rice.pastry.NodeId topicId, rice.pastry.NodeHandle child, boolean wasAdded, java.io.Serializable obj)
subscribeHandler
in interface rice.scribe.IScribeApp
public void faultHandler(rice.scribe.messaging.ScribeMessage msg, rice.pastry.NodeHandle faultyParent)
faultHandler
in interface rice.scribe.IScribeApp
public boolean anycastHandler(rice.scribe.messaging.ScribeMessage msg)
anycastHandler
in interface rice.scribe.IScribeApp
public void isNewRoot(rice.pastry.NodeId topicId)
isNewRoot
in interface rice.scribe.IScribeApp
public void newParent(rice.pastry.NodeId topicId, rice.pastry.NodeHandle newParent, java.io.Serializable data)
newParent
in interface rice.scribe.IScribeApp
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |