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