|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeManager
Manages Nodes. The MVC layer should use this to interact with nodes.
| Method Summary | |
|---|---|
boolean |
connect(NodeAddress address)
|
boolean |
createNode(NodeAddress address)
Creates a new Node with the specified address |
void |
deleteNode(NodeAddress address)
Deletes the node associated with the address. |
boolean |
disconnect(NodeAddress address)
|
Node |
getNode(NodeAddress address)
|
java.util.Collection<Node> |
getNodes()
|
| Method Detail |
|---|
java.util.Collection<Node> getNodes()
Node getNode(NodeAddress address)
address -
boolean createNode(NodeAddress address)
Node with the specified address
address -
void deleteNode(NodeAddress address)
address -
boolean connect(NodeAddress address)
throws java.net.UnknownHostException,
java.io.IOException
address - The address of the node to connect
java.net.UnknownHostException
java.io.IOExceptionboolean disconnect(NodeAddress address)
address - The address of the node to disconnect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||