From 403b889946c2be0f8cb5b2ffc86ff31d2095e54b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 9 Apr 2009 15:34:17 +0200 Subject: [PATCH] Add javadoc. --- src/net/pterodactylus/fcp/highlevel/FcpClient.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/net/pterodactylus/fcp/highlevel/FcpClient.java index bcbc21d..12768f5 100644 --- a/src/net/pterodactylus/fcp/highlevel/FcpClient.java +++ b/src/net/pterodactylus/fcp/highlevel/FcpClient.java @@ -640,6 +640,19 @@ public class FcpClient { return getRequests(global); } + /** + * Returns all currently visible persistent requests. + * + * @param global + * true to return requests from the global queue, + * false to only show requests from the client-local + * queue + * @return All requests + * @throws IOException + * if an I/O error occurs + * @throws FcpException + * if an FCP error occurs + */ public Collection getRequests(final boolean global) throws IOException, FcpException { final Map requests = Collections.synchronizedMap(new HashMap()); new ExtendedFcpAdapter() { -- 2.7.4