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 * Vincent Perot - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.internal
.tmf
.pcap
.core
.signal
;
15 import org
.eclipse
.jdt
.annotation
.Nullable
;
16 import org
.eclipse
.tracecompass
.internal
.tmf
.pcap
.core
.event
.TmfPacketStream
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.signal
.TmfSignal
;
20 * TmfSignal that is broadcasted when a new packet stream is chosen. Views that
21 * are network-specific can uses this signal to track when the user selects a
24 * @author Vincent Perot
26 public class TmfPacketStreamSelectedSignal
extends TmfSignal
{
28 private final @Nullable TmfPacketStream fStream
;
31 * Standard constructor
34 * Object sending this signal
36 * Reference index to assign to this signal
38 * The new stream. It can be null if the user cleared the
41 public TmfPacketStreamSelectedSignal(Object source
, int reference
, @Nullable TmfPacketStream stream
) {
42 super(source
, reference
);
47 * Getter method that returns the stream.
51 public @Nullable TmfPacketStream
getStream() {