[Bug 303523] LTTng/TMF udpates:
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / component / ITmfComponent.java
index 3a0555b2dfafd60530bd9669d8032df0e53630ad..ad20d0b47cc3f3cf90e0a8dcebc2e707803e0a7b 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009 Ericsson
+ * Copyright (c) 2009, 2010 Ericsson
  * 
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -17,11 +17,27 @@ import org.eclipse.linuxtools.tmf.signal.TmfSignal;
 /**
  * <b><u>ITmfComponent</u></b>
  * <p>
- * TODO: Implement me. Please.
+ * This is the basic interface of all the TMF components.
+ * <p>
+ *  Currently, it only addresses the inter-component signaling.
  */
 public interface ITmfComponent {
 
-       public void dispose();
+       /**
+        * Register to the signal manager
+        */
+       public void register();
+
+       /**
+        * De-register from the signal manager
+        */
+       public void deregister();
+
+       /**
+        * Broadcast a signal to all the interested listeners.
+        * 
+        * @param signal
+        */
+       public void broadcast(TmfSignal signal);
 
-       public void broadcastSignal(TmfSignal signal);
 }
This page took 0.024356 seconds and 5 git commands to generate.