/*
- * jSite-0.7 -
- * Copyright (C) 2006 David Roden
+ * jSite - Node.java - Copyright © 2006–2012 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/**
* Container for node information.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class Node extends de.todesbaum.util.freenet.fcp2.Node {
/**
* Creates a new node with the given hostname and the default port.
- *
+ *
* @see de.todesbaum.util.freenet.fcp2.Node#DEFAULT_PORT
* @param hostname
* The hostname of the new node
/**
* Creates a new node with the given hostname and port.
- *
+ *
* @param hostname
* The hostname of the new node
* @param port
/**
* Creates a new node with the given hostname, port, and name.
- *
+ *
* @param hostname
* The hostname of the new node
* @param port
/**
* Creates a new node that gets its settings from the given node.
- *
+ *
* @param node
* The node to copy
*/
/**
* Creates a new node from the given node, overwriting the name.
- *
+ *
* @param node
* The node to copy from
* @param name
/**
* Sets the name of the node.
- *
+ *
* @param name
* The name of the node
*/
/**
* Returns the name of the node.
- *
+ *
* @return The name of the node
*/
public String getName() {
/**
* Sets the hostname of the node.
- *
+ *
* @param hostname
* The hostname of the node
*/
/**
* Sets the port of the node.
- *
+ *
* @param port
* The port of the node
*/