2a47c050612a1694d7f71ae149b34d917d7d9348
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.core / src / org / eclipse / linuxtools / internal / lttng2 / control / core / relayd / lttngviewerCommands / IRelayCommand.java
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
14 package org.eclipse.linuxtools.internal.lttng2.control.core.relayd.lttngviewerCommands;
15
16
17 /**
18 * Command sent, needs a getBytes to stream the data
19 *
20 * @author Matthew Khouzam
21 * @since 3.0
22 */
23 public interface IRelayCommand {
24
25 /**
26 * Gets a byte array of the command so that it may be streamed
27 *
28 * @return the byte array of the command
29 */
30 byte[] serialize();
31 }
This page took 0.04071 seconds and 4 git commands to generate.