1 /*******************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal
4 * All rights reserved. This program and the accompanying materials are made
5 * 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 * Geneviève Bastien - Initial implementation and API
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.event
.matching
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.matching
.TmfNetworkEventMatching
.Direction
;
19 * Base class for all network match definitions, ie traces with send and receive
22 * @author Geneviève Bastien
25 public abstract class TmfNetworkMatchDefinition
implements ITmfMatchEventDefinition
{
28 * Returns the direction of this event, whether 'send', 'receive' or null if
33 * @return The direction of this event, null if uninteresting event
35 public abstract Direction
getDirection(ITmfEvent event
);