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
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.lttngviewerCommands
;
17 * Return codes for "viewer attach" command
19 * @author Matthew Khouzam
21 public enum AttachReturnCode
implements IBaseCommand
{
23 /** If the attach command succeeded. */
25 /** If a viewer is already attached. */
26 VIEWER_ATTACH_ALREADY(2),
27 /** If the session ID is unknown. */
29 /** If the session is not live. */
30 VIEWER_ATTACH_NOT_LIVE(4),
32 VIEWER_ATTACH_SEEK_ERR(5),
34 VIEWER_ATTACH_NO_SESSION(6);
36 private final int fCode
;
38 private AttachReturnCode(int c
) {
43 public int getCommand() {
This page took 0.034817 seconds and 5 git commands to generate.