public class PeerGroupOverlay extends NodeComponentImpl implements GraphListener
| Constructor and Description |
|---|
PeerGroupOverlay(PeerManager inManager,
PeerGroup inGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendOverlay(NodeDetails inDetails) |
void |
commitUpdates() |
void |
generateOverlay(GraphBuilder inTopoGen,
GraphBuilder inRouteGen) |
java.lang.String |
getTreeDebug()
Returns a formatted string of the routing tree from the root
|
void |
joinOverlay(java.util.List<PeerDetails> inConnectList) |
boolean |
markUpdate(Graph inGraph,
GraphNode inNode) |
void |
onJoinMessage(MsgTopicJoin inEvent) |
void |
onUpdateMessage(MsgTopicOverlay inEvent) |
void |
printGraphDebug(boolean inPrimaryOnly) |
getComponentKey, getComponentLink, hashCode, setComponentKey, startComponent, stopComponentpublic PeerGroupOverlay(PeerManager inManager, PeerGroup inGroup)
public void joinOverlay(java.util.List<PeerDetails> inConnectList) throws OverlayException
OverlayExceptionpublic void appendOverlay(NodeDetails inDetails) throws OverlayException
OverlayExceptionpublic void generateOverlay(GraphBuilder inTopoGen, GraphBuilder inRouteGen) throws OverlayException
OverlayExceptionpublic boolean markUpdate(Graph inGraph, GraphNode inNode)
markUpdate in interface GraphListenerpublic void commitUpdates()
public void onJoinMessage(MsgTopicJoin inEvent)
public void onUpdateMessage(MsgTopicOverlay inEvent)
public void printGraphDebug(boolean inPrimaryOnly)
public java.lang.String getTreeDebug()