Commit | Line | Data |
---|---|---|
550d787e FC |
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 | ||
8c8bf09f ASL |
13 | package org.eclipse.linuxtools.tmf.component; |
14 | ||
15 | import org.eclipse.linuxtools.tmf.event.TmfData; | |
2fb2eb37 | 16 | import org.eclipse.linuxtools.tmf.request.ITmfDataRequest; |
8c8bf09f | 17 | |
550d787e FC |
18 | /** |
19 | * <b><u>ITmfDataRequest</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
8c8bf09f ASL |
23 | public interface ITmfDataProvider<T extends TmfData> { |
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 | */ | |
2fb2eb37 | 32 | public void sendRequest(ITmfDataRequest<T> request); |
550d787e | 33 | public void fireRequests(); |
8c8bf09f | 34 | } |