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
11 **********************************************************************/
13 package org
.eclipse
.tracecompass
.internal
.lttng2
.control
.core
.relayd
.lttngviewerCommands
;
16 * LTTng Relay Daemon API. needs a TCP connection, API is defined from
17 * BSD-licensed implementation in Lttng tools: <a href=
18 * "http://git.lttng.org/?p=lttng-tools.git;a=blob;f=src/bin/lttng-relayd/lttng-viewer-abi.h"
19 * > src/bin/lttng-relayd/lttng-viewer-abi.h</a>
21 * @author Matthew Khouzam
23 public interface LttngViewerCommands
{
25 /** Maximum path name length */
26 static final int LTTNG_VIEWER_PATH_MAX
= 4096;
27 /** Maximum name length */
28 static final int LTTNG_VIEWER_NAME_MAX
= 255;
29 /** Maximum host name length */
30 static final int LTTNG_VIEWER_HOST_NAME_MAX
= 64;
31 /** New stream in the trace */
32 static final int NEW_STREAM
= (1 << 1);
33 /** New metadata in the trace */
34 static final int NEW_METADATA
= (1 << 0);