2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp;
7 * The “WatchGlobal” messages enables clients to watch the global queue in
8 * addition to the client-local queue.
10 * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
13 public class WatchGlobal extends FcpMessage {
16 * Enables or disables watching the global queue.
19 * <code>true</code> to watch the global queue and the
20 * client-local queue, <code>false</code> to watch only the
23 public WatchGlobal(boolean enabled) {
24 this(enabled, Verbosity.ALL);
28 * Enables or disables watching the global queue, optionally masking out
32 * <code>true</code> to watch the global queue and the
33 * client-local queue, <code>false</code> to watch only the
35 * @param verbosityMask
36 * A verbosity mask that determines which events are received
38 public WatchGlobal(boolean enabled, Verbosity verbosityMask) {
40 setField("Enabled", String.valueOf(enabled));
41 setField("VerbosityMask", String.valueOf(verbosityMask));