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
;
17 * Return codes for "viewer attach" command
19 * @author Matthew Khouzam
22 public enum AttachReturnCode
implements IBaseCommand
{
24 /** If the attach command succeeded. */
26 /** If a viewer is already attached. */
27 VIEWER_ATTACH_ALREADY(2),
28 /** If the session ID is unknown. */
30 /** If the session is not live. */
31 VIEWER_ATTACH_NOT_LIVE(4),
33 VIEWER_ATTACH_SEEK_ERR(5),
35 VIEWER_ATTACH_NO_SESSION(6);
37 private final int fCode
;
39 private AttachReturnCode(int c
) {
44 public int getCommand() {
This page took 0.0348850000000001 seconds and 6 git commands to generate.