*/
package net.pterodactylus.util.fcp;
-
/**
* The “PeerNote” message contains a private note that has been entered for a
* darknet peer.
public class PeerNote extends BaseMessage {
/** The type for base64 encoded peer notes. */
- public static final int NOTE_TYPE_BASE64 = 1;
+ public static final int TYPE_PRIVATE_PEER_NOTE = 1;
/**
* Creates a “PeerNote” message that wraps the recevied message.
}
/**
- * Returns the note text in whatever format is specified by
- * {@link #getPeerNoteType()}.
+ * Returns the base64-encoded note text.
*
* @return The note text
*/
}
/**
- * Returns the type of the peer note. The type <code>1</code> means that
- * the text of the note is base64-encoded.
+ * Returns the type of the peer note.
*
* @return The type of the peer note
* @throws NumberFormatException