trace/traceviewer/com.nokia.traceviewer/src/com/nokia/traceviewer/engine/MediaCallback.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Media Callback interface |
|
17 * |
|
18 */ |
|
19 package com.nokia.traceviewer.engine; |
|
20 |
|
21 /** |
|
22 * Media Callback interface |
|
23 * |
|
24 */ |
|
25 public interface MediaCallback { |
|
26 |
|
27 /** |
|
28 * Processes data |
|
29 * |
|
30 * @param properties |
|
31 * trace properties |
|
32 * |
|
33 */ |
|
34 public void processTrace(TraceProperties properties); |
|
35 |
|
36 /** |
|
37 * Informs that Reader has reached EOF |
|
38 * |
|
39 * @param reader |
|
40 * reader hit the EOF |
|
41 */ |
|
42 public void endOfFile(DataReader reader); |
|
43 |
|
44 /** |
|
45 * Notifies that data handle has changed. MediaCallback should shutdown the |
|
46 * reader and set it to null so that it will be created again when started |
|
47 * next time. |
|
48 */ |
|
49 public void dataHandleChanged(); |
|
50 |
|
51 } |