--- /dev/null
+/**
+ * © 2008 INA Service GmbH
+ */
+package net.pterodactylus.util.fcp;
+
+/**
+ * Command to tell the node to list all persistent requests from the current
+ * queue, which is either the global queue or the client-local queue, depending
+ * on your {@link WatchGlobal} status.
+ *
+ * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
+ * @version $Id$
+ */
+public class ListPersistentRequests extends FcpMessage {
+
+ /**
+ * Creates a new “ListPersistentRequests” command that lists all persistent
+ * requests in the current queue.
+ */
+ public ListPersistentRequests() {
+ super("ListPersistentRequests");
+ }
+
+}
--- /dev/null
+/**
+ * © 2008 INA Service GmbH
+ */
+package net.pterodactylus.util.fcp;
+
+/**
+ * The “WatchGlobal” messages enables clients to watch the global queue in
+ * addition to the client-local queue.
+ *
+ * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
+ * @version $Id$
+ */
+public class WatchGlobal extends FcpMessage {
+
+ /**
+ * Enables or disables watching the global queue.
+ *
+ * @param enabled
+ * <code>true</code> to watch the global queue and the
+ * client-local queue, <code>false</code> to watch only the
+ * client-local queue
+ */
+ public WatchGlobal(boolean enabled) {
+ this(enabled, Verbosity.ALL);
+ }
+
+ /**
+ * Enables or disables watching the global queue, optionally masking out
+ * certain events.
+ *
+ * @param enabled
+ * <code>true</code> to watch the global queue and the
+ * client-local queue, <code>false</code> to watch only the
+ * client-local queue
+ * @param verbosityMask
+ * A verbosity mask that determines which events are received
+ */
+ public WatchGlobal(boolean enabled, Verbosity verbosityMask) {
+ super("WatchGlobal");
+ setField("Enabled", String.valueOf(enabled));
+ setField("VerbosityMask", String.valueOf(verbosityMask));
+ }
+
+}