Fix: Return the correct list of available Java events
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / client / ILttngTcpClientListener.java
index 031d4e048863c4e74802e03a90029c17401b6896..ef0c11d95656db784c48a738fb5174454356121b 100644 (file)
@@ -17,6 +17,8 @@
 
 package org.lttng.ust.agent.client;
 
+import java.util.Collection;
+
 import org.lttng.ust.agent.session.EventRule;
 
 /**
@@ -53,9 +55,12 @@ public interface ILttngTcpClientListener {
        boolean eventDisabled(String eventName);
 
        /**
-        * List the all events currently enabled in the current tracing sessions.
+        * List the events that are available in the agent's tracing domain.
+        *
+        * In Java terms, this means loggers that have at least one LTTng log
+        * handler of their corresponding domain attached.
         *
-        * @return The list of enabled events
+        * @return The list of available events
         */
-       Iterable<String> listEnabledEvents();
+       Collection<String> listAvailableEvents();
 }
This page took 0.023717 seconds and 4 git commands to generate.