[Bug 303523] LTTng/TMF udpates:
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / request / ITmfRequestHandler.java
CommitLineData
4ab33d2b 1/*******************************************************************************
e31e01e8 2 * Copyright (c) 2009, 2010 Ericsson
4ab33d2b
AO
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:
165c977c 10 * Francois Chouinard - Initial API and implementation
4ab33d2b
AO
11 *******************************************************************************/
12
165c977c 13package org.eclipse.linuxtools.tmf.request;
4ab33d2b 14
e31e01e8
FC
15import org.eclipse.linuxtools.tmf.event.TmfData;
16
4ab33d2b
AO
17/**
18 * <b><u>ITmfRequestHandler</u></b>
19 * <p>
20 * TODO: Implement me. Please.
165c977c 21 * @param <V>
4ab33d2b 22 */
e31e01e8 23public interface ITmfRequestHandler<T extends TmfData> {
4ab33d2b
AO
24
25 /**
26 * Process the request. The client thread can be suspended until the
27 * request is completed (e.g. for a specific range of events) or it
28 * can choose to process the events asynchronously (e.g. for streaming).
29 *
0ab46cd3 30 * @param waitForCompletion Suspend the client thread until the request completes
4ab33d2b 31 */
e31e01e8
FC
32 public void processRequest(TmfDataRequest<T> request, boolean waitForCompletion);
33}
This page took 0.02547 seconds and 5 git commands to generate.