projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add identifier to requests
[jFCPlib.git]
/
src
/
net
/
pterodactylus
/
fcp
/
Peer.java
diff --git
a/src/net/pterodactylus/fcp/Peer.java
b/src/net/pterodactylus/fcp/Peer.java
index
e45d563
..
4a21f5c
100644
(file)
--- 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.
*
* Returns the “physical.udp” line from the message. It contains all IP
* addresses and port numbers of the peer.
*