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 "new streams" command
19 * @author Matthew Khouzam
22 public enum NewStreamsReturnCode
implements IBaseCommand
{
24 /** If new streams are being sent. */
25 LTTNG_VIEWER_NEW_STREAMS_OK(1),
26 /** If no new streams are available. */
27 LTTNG_VIEWER_NEW_STREAMS_NO_NEW(2),
29 LTTNG_VIEWER_NEW_STREAMS_ERR(3),
30 /** Session closed. */
31 LTTNG_VIEWER_NEW_STREAMS_HUP(4);
33 private final int fCode
;
35 private NewStreamsReturnCode(int c
) {
40 public int getCommand() {
This page took 0.04297 seconds and 6 git commands to generate.