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 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core.component; |
8c8bf09f | 14 | |
72f1e62a | 15 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; |
6c13869b | 16 | import org.eclipse.linuxtools.tmf.core.request.ITmfDataRequest; |
8c8bf09f | 17 | |
550d787e FC |
18 | /** |
19 | * <b><u>ITmfDataRequest</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
72f1e62a | 23 | public interface ITmfDataProvider<T extends ITmfEvent> { |
8c8bf09f ASL |
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); |
c1c69938 FC |
33 | public void fireRequest(); |
34 | public void notifyPendingRequest(boolean isIncrement); | |
8c8bf09f | 35 | } |