X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FEndListPeers.java;h=edba692296f26ef8463e21298fda7c86f1d74756;hb=e0d4c56493b97a16514ca865cad0ae42a2d8a5a2;hp=12dedbe9023218fac1700c85595111f5a2c70b22;hpb=f553531be78d6d6d95dc152728f2b8d40242b57d;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/EndListPeers.java b/src/net/pterodactylus/fcp/EndListPeers.java index 12dedbe..edba692 100644 --- a/src/net/pterodactylus/fcp/EndListPeers.java +++ b/src/net/pterodactylus/fcp/EndListPeers.java @@ -1,6 +1,5 @@ /* - * jSite2 - EndListPeers.java - - * Copyright © 2008 David Roden + * jFCPlib - EndListPeers.java - Copyright © 2008 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +22,6 @@ package net.pterodactylus.fcp; * This message marks the end of a list of “Peer” replies. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class EndListPeers extends BaseMessage { @@ -37,4 +35,13 @@ public class EndListPeers extends BaseMessage { super(receivedMessage); } + /** + * Returns the identifier of the request. + * + * @return The identifier of the request + */ + public String getIdentifier() { + return getField("Identifier"); + } + }