Remove all existing @since annotations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.core / src / org / eclipse / tracecompass / internal / lttng2 / control / core / relayd / lttngviewerCommands / NewStreamsReturnCode.java
CommitLineData
8e15b929
MK
1/**********************************************************************
2 * Copyright (c) 2014 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Matthew Khouzam - Initial implementation and API
11 * Marc-Andre Laperle - Initial implementation and API
12 **********************************************************************/
13
9bc60be7 14package org.eclipse.tracecompass.internal.lttng2.control.core.relayd.lttngviewerCommands;
8e15b929
MK
15
16/**
17 * Return codes for "new streams" command
18 *
19 * @author Matthew Khouzam
8e15b929
MK
20 */
21public enum NewStreamsReturnCode implements IBaseCommand {
22
23 /** If new streams are being sent. */
24 LTTNG_VIEWER_NEW_STREAMS_OK(1),
25 /** If no new streams are available. */
26 LTTNG_VIEWER_NEW_STREAMS_NO_NEW(2),
27 /** Error. */
28 LTTNG_VIEWER_NEW_STREAMS_ERR(3),
29 /** Session closed. */
30 LTTNG_VIEWER_NEW_STREAMS_HUP(4);
31
32 private final int fCode;
33
34 private NewStreamsReturnCode(int c) {
35 fCode = c;
36 }
37
38 @Override
39 public int getCommand() {
40 return fCode;
41 }
42}
This page took 0.040048 seconds and 5 git commands to generate.