Implement the new TMF Event Model
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / component / ITmfDataProvider.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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.core.component;
14
15 import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
16 import org.eclipse.linuxtools.tmf.core.request.ITmfDataRequest;
17
18 /**
19 * <b><u>ITmfDataRequest</u></b>
20 * <p>
21 * TODO: Implement me. Please.
22 */
23 public interface ITmfDataProvider<T extends TmfEvent> {
24
25 /**
26 * Queues the request for processing.
27 *
28 * If the request can't be serviced, it will fail (i.e. isFailed() will be set).
29 *
30 * @param request The request to process
31 */
32 public void sendRequest(ITmfDataRequest<T> request);
33 public void fireRequest();
34 public void notifyPendingRequest(boolean isIncrement);
35 }
This page took 0.035599 seconds and 6 git commands to generate.