/**
* The “NodeData” contains the noderef of the node, along with additional data.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class NodeData extends BaseMessage {
/**
* Creates a new “NodeData” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
/**
* Returns the noderef of the node.
- *
+ *
* @return The noderef of the node
*/
public NodeRef getNodeRef() {
/**
* Returns the last good version, i.e. the oldest version the node will
* connect to.
- *
+ *
* @return The last good version
*/
public Version getLastGoodVersion() {
/**
* Returns the signature of the noderef.
- *
+ *
* @return The signature of the noderef
*/
public String getSignature() {
/**
* Returns whether the noderef is the opennet noderef of the node
- *
+ *
* @return <code>true</code> if the noderef is the opennet noderef of the
* node, <code>false</code> otherwise
*/
/**
* Returns the identity of the node
- *
+ *
* @return The identity of the node
*/
public String getIdentity() {
/**
* Returns the name of the node.
- *
+ *
* @return The name of the node
*/
public String getMyName() {
/**
* Returns the version of the node.
- *
+ *
* @return The version of the node
*/
public Version getVersion() {
/**
* Returns IP addresses and port number of the node.
- *
+ *
* @return The IP addresses and port numbers of the node
*/
public String getPhysicalUDP() {
/**
* Returns the ARK of the node.
- *
+ *
* @return The ARK of the node
*/
public ARK getARK() {
/**
* Returns the public key of the node.
- *
+ *
* @return The public key of the node
*/
public String getDSAPublicKey() {
/**
* Returns the private key of the node.
- *
+ *
* @return The private key of the node
*/
public String getDSKPrivateKey() {
/**
* Returns the DSA group of the node.
- *
+ *
* @return The DSA group of the node
*/
public DSAGroup getDSAGroup() {
/**
* Returns the negotiation types supported by the node.
- *
+ *
* @return The node’s supported negotiation types
*/
public int[] getNegotiationTypes() {
* is prepended with “volatile.” so if you want to get the value of the
* field with the name “volatile.freeJavaMemory” you only need to specify
* “freeJavaMemory”.
- *
+ *
* @param field
* The name of the field
* @return The value of the field, or <code>null</code> if there is no such