2 * Copyright (C) 2015 - EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
3 * Copyright (C) 2013 - David Goulet <dgoulet@efficios.com>
5 * This library is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License, version 2.1 only,
7 * as published by the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 package org.lttng.ust.agent.client;
21 interface ISessiondCommand {
23 enum LttngAgentCommand {
25 /** List logger(s). */
27 /** Enable logger by name. */
29 /** Disable logger by name. */
31 /** Registration done */
36 private LttngAgentCommand(int c) {
40 public int getCommand() {
46 * Populate the class from a byte array
49 * the byte array containing the streamed command
51 void populate(byte[] data);