X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FPeer.java;h=4a21f5cd0651e79455df2fad6d12168590d96d7f;hb=60fa4ea6401f9cb7b3615f81526fda8212ace6c8;hp=e45d563489255e16a6aa268d3879514e0e0e31bc;hpb=33e57ae1719a87ba663e1f640db264c8c698a8c4;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/Peer.java b/src/net/pterodactylus/fcp/Peer.java index e45d563..4a21f5c 100644 --- a/src/net/pterodactylus/fcp/Peer.java +++ b/src/net/pterodactylus/fcp/Peer.java @@ -59,6 +59,15 @@ public class Peer extends BaseMessage { } /** + * Returns the identifier of the request. + * + * @return The identifier of the request + */ + public String getIdentifier() { + return getField("Identifier"); + } + + /** * Returns the “physical.udp” line from the message. It contains all IP * addresses and port numbers of the peer. *