From bf0b6fe3af98f1c31895190bc54d017b623acd2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Mar 2009 23:03:50 +0100 Subject: [PATCH] =?utf8?q?Expose=20=E2=80=9CNodeIdentifier=E2=80=9D=20fiel?= =?utf8?q?d.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/net/pterodactylus/fcp/PeerNote.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/net/pterodactylus/fcp/PeerNote.java b/src/net/pterodactylus/fcp/PeerNote.java index aeeeb1e..0340518 100644 --- a/src/net/pterodactylus/fcp/PeerNote.java +++ b/src/net/pterodactylus/fcp/PeerNote.java @@ -41,6 +41,15 @@ public class PeerNote extends BaseMessage { } /** + * Returns the identifier of the node this note belongs to. + * + * @return The note’s node’s identifier + */ + public String getNodeIdentifier() { + return getField("NodeIdentifier"); + } + + /** * Returns the base64-encoded note text. * * @return The note text -- 2.7.4