Commit | Line | Data |
---|---|---|
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 | |
11 | **********************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.internal.lttng2.control.core.relayd.lttngviewerCommands; | |
14 | ||
15 | /** | |
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> | |
20 | * | |
21 | * @author Matthew Khouzam | |
22 | * @since 3.0 | |
23 | */ | |
24 | public interface LttngViewerCommands { | |
25 | ||
26 | /** Maximum path name length */ | |
27 | static final int LTTNG_VIEWER_PATH_MAX = 4096; | |
28 | /** Maximum name length */ | |
29 | static final int LTTNG_VIEWER_NAME_MAX = 255; | |
30 | /** Maximum host name length */ | |
31 | static final int LTTNG_VIEWER_HOST_NAME_MAX = 64; | |
32 | /** New stream in the trace */ | |
33 | static final int NEW_STREAM = (1 << 1); | |
34 | /** New metadata in the trace */ | |
35 | static final int NEW_METADATA = (1 << 0); | |
36 | ||
37 | } |