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 * Get packet return code
19 * @author Matthew Khouzam
21 public enum GetPacketReturnCode
implements IBaseCommand
{
23 /** Response was OK */
24 VIEWER_GET_PACKET_OK(1),
25 /** Response was RETRY */
26 VIEWER_GET_PACKET_RETRY(2),
27 /** Response was ERROR */
28 VIEWER_GET_PACKET_ERR(3),
29 /** Response was End of File */
30 VIEWER_GET_PACKET_EOF(4);
32 private final int fCode
;
34 private GetPacketReturnCode(int c
) {
39 public int getCommand() {
This page took 0.032029 seconds and 5 git commands to generate.