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