/**
* Container for a Freenet node.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
* @version $Id$
*/
/** The port number of the node. */
private int port;
- /** Whether the node is running on the same machine as jSite. */
- private boolean sameMachine;
-
/**
* Returns the user-given name of the node.
- *
+ *
* @return The name of the node
*/
public String getName() {
/**
* Sets the user-given name of the node.
- *
+ *
* @param name
* The name of the node
*/
/**
* Returns the hostname of the node.
- *
+ *
* @return The hostname of the node
*/
public String getHostname() {
/**
* Sets the hostname of the node.
- *
+ *
* @param hostname
* The hostname of the node
*/
/**
* Returns the port number of the node.
- *
+ *
* @return The port number of the node
*/
public int getPort() {
/**
* Sets the port number of the node.
- *
+ *
* @param port
* The port number of the node
*/
}
/**
- * Returns whether this node is running on the same machine as jSite.
- *
- * @return the sameMachine <code>true</code> if, and only if, the node is
- * running on the same machine as jSite
- */
- public boolean isSameMachine() {
- return sameMachine;
- }
-
- /**
- * Sets whether this node is running on the same machine as jSite.
- *
- * @param sameMachine
- * <code>true</code> if the node is running on the same machine
- * as jSite, <code>false</code> otherwise
- */
- public void setSameMachine(boolean sameMachine) {
- this.sameMachine = sameMachine;
- }
-
- /**
* {@inheritDoc}
*/
@Override