fabric.dissemination.pastry
Class Node
java.lang.Object
fabric.dissemination.pastry.Node
public class Node
- extends java.lang.Object
Represents a pastry node with a dissemination process. Creating an instance
of this class will set up a pastry node on the local machine, attempt to join
a pastry ring, and start a disseminator application associated with the
pastry node created.
Constructor Summary |
Node(java.util.Properties dissemConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
protected Environment env
pnf
protected SocketPastryNodeFactory pnf
node
protected PastryNode node
disseminator
protected Disseminator disseminator
Node
public Node(java.util.Properties dissemConfig)
throws java.io.IOException
- Throws:
java.io.IOException
disseminator
public Disseminator disseminator()
- Returns the disseminator application of this node.
destroy
public void destroy()
- Shuts down and destroys this node.