|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.dan.NodeManager
This class manages all the local graph nodes.
Field Summary | |
protected java.util.Set |
_gmans
|
protected java.util.Hashtable |
_lnodes
|
protected java.util.Hashtable |
_rnodes
|
Constructor Summary | |
NodeManager()
|
Method Summary | |
void |
addGraphManager(GraphManager gm)
Add a graph manager containing a graph of nodes. |
NodeHandler |
getLocal(Guid guid)
Get a local node (handler) with specified guid. |
Address |
getRemote(Guid guid)
Get the address of a remote node. |
void |
putLocal(Guid guid,
NodeHandler node)
Put a local node (handler) with specified guid. |
void |
putRemote(Guid guid,
Address addr)
Put a remove node with specified address. |
void |
removeGraphManager(GraphManager gm)
Remove a graph manager from this node manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Set _gmans
protected java.util.Hashtable _lnodes
protected java.util.Hashtable _rnodes
Constructor Detail |
public NodeManager()
Method Detail |
public void addGraphManager(GraphManager gm)
public void removeGraphManager(GraphManager gm)
public void putLocal(Guid guid, NodeHandler node)
public NodeHandler getLocal(Guid guid)
public void putRemote(Guid guid, Address addr)
public Address getRemote(Guid guid)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |