import java.beans.PropertyChangeListener;
+import net.pterodactylus.jsite.util.IdGenerator;
import net.pterodactylus.util.beans.AbstractBean;
+import net.pterodactylus.util.number.Hex;
/**
* Container for a Freenet node. A Node is capable of notifying
private int port;
/**
+ * Creates a new node.
+ */
+ public Node() {
+ id = Hex.toHex(IdGenerator.generateId());
+ }
+
+ /**
* Returns the internal ID of the node.
*
* @return The internal ID of the node