1
/**********************************************************************
2
* Copyright (c) 2014 Ericsson
4
* All rights reserved. This program and the accompanying materials are
5
* made available under the terms of the Eclipse Public License v1.0 which
6
* accompanies this distribution, and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
10
* Matthew Khouzam - Initial implementation and API
11
* Marc-Andre Laperle - Initial implementation and API
12
**********************************************************************/
14
package org.eclipse.linuxtools.internal.lttng2.control.core.relayd.lttngviewerCommands;
19
* @author Matthew Khouzam
22
public enum Command implements IBaseCommand {
26
/** list all lttng sessions */
27
VIEWER_LIST_SESSIONS(2),
28
/** attach to a session */
29
VIEWER_ATTACH_SESSION(3),
30
/** get the next index */
31
VIEWER_GET_NEXT_INDEX(4),
35
VIEWER_GET_METADATA(6),
36
/** get new streams */
37
VIEWER_GET_NEW_STREAMS(7),
38
/** create a new session */
39
VIEWER_CREATE_SESSION(8);
42
* Command size (fCode)
44
public static final int SIZE = Integer.SIZE / 8;
46
private final int fCode;
48
private Command(int c) {
53
public int getCommand() {
b'\\ No newline at end of file'