sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/pi/export/ITraceClientNotificationsIf.java
changeset 12 ae255c9aa552
equal deleted inserted replaced
11:5b9d4d8641ce 12:ae255c9aa552
       
     1 /*
       
     2 * Copyright (c) 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 */
       
    17 package com.nokia.carbide.cpp.pi.export;
       
    18 
       
    19 import org.eclipse.core.runtime.IPath;
       
    20 
       
    21 /**
       
    22  * Callback interface reporting trace related error information from trace source side.
       
    23  */
       
    24 public interface ITraceClientNotificationsIf {
       
    25 	
       
    26 	/**
       
    27 	 * Notifies informative message from trace source.
       
    28 	 * @param message message
       
    29 	 */
       
    30 	public void notifyInformation(String message);
       
    31 	
       
    32 	/**
       
    33 	 * Notifies warning from trace source.
       
    34 	 * @param message message
       
    35 	 */
       
    36 	public void notifyWarning(String message);
       
    37 	
       
    38 	/**
       
    39 	 * Notifies error from trace source.
       
    40 	 * @param message message
       
    41 	 */
       
    42 	public void notifyError(String message);
       
    43 	
       
    44 	/**
       
    45 	 * Update trace data file during tracing
       
    46 	 * 
       
    47 	 * @param path of the trace data file
       
    48 	 * @param time of the used time to trace
       
    49 	 * @param size of the trace data file
       
    50 	 */
       
    51 	public void updateTraceDataFile(IPath path, long time, long size);
       
    52 }