/**
* Some convenience methods for parsing a “NodeHello” message from the node.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class NodeHello extends BaseMessage {
/**
* Createa a new “NodeHello” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received FCP message
*/
/**
* Returns the build of the node. This may not be a number but also a string
* like “@custom@” in case you built the node yourself.
- *
+ *
* @return The build of the node
*/
public String getBuild() {
/**
* Returns the build number of the node. This may not be a number but also a
* string like “@custom@” in case you built the node yourself.
- *
+ *
* @return The build number of the node, or <code>-1</code> if the build
* number could not be determined
*/
/**
* Returns the number of compression codecs.
- *
+ *
* @return The number of compression codecs
*/
public String getCompressionCodecs() {
/**
* Returns the number of compression codecs.
- *
+ *
* @return The number of compression codecs, or <code>-1</code> if the
* number of compression codecs could not be determined
*/
/**
* Returns the unique connection identifier.
- *
+ *
* @return The connection identifier
*/
public String getConnectionIdentifier() {
/**
* Returns the build of the external library file.
- *
+ *
* @return The build of the external library file
*/
public String getExtBuild() {
/**
* Returns the build number of the external library file.
- *
+ *
* @return The build number of the external library file, or <code>-1</code>
* if the build number could not be determined
*/
/**
* Returns the revision of the external library file.
- *
+ *
* @return The revision of the external library file
*/
public String getExtRevision() {
/**
* Returns the revision number of the external library file.
- *
+ *
* @return The revision number of the external library file, or
* <code>-1</code> if the revision number could not be determined
*/
/**
* Returns the FCP version the node speaks.
- *
+ *
* @return The FCP version the node speaks
*/
public String getFCPVersion() {
/**
* Returns the make of the node, e.g. “Fred” (freenet reference
* implementation).
- *
+ *
* @return The make of the node
*/
public String getNode() {
/**
* Returns the language of the node as 2-letter code, e.g. “en” or “de”.
- *
+ *
* @return The language of the node
*/
public String getNodeLanguage() {
/**
* Returns the revision of the node.
- *
+ *
* @return The revision of the node
*/
public String getRevision() {
/**
* Returns the revision number of the node.
- *
+ *
* @return The revision number of the node, or <code>-1</code> if the
* revision number coult not be determined
*/
/**
* Returns whether the node is currently is testnet mode.
- *
+ *
* @return <code>true</code> if the node is currently in testnet mode,
* <code>false</code> otherwise
*/
/**
* Returns the version of the node.
- *
+ *
* @return The version of the node
*/
public String getVersion() {