Manage complete "event rules" in the Java agent
[deliverable/lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / client / ILttngTcpClientListener.java
index 662b998283eb33902fd6d2e6ff15d95c4571cf8b..031d4e048863c4e74802e03a90029c17401b6896 100644 (file)
@@ -17,6 +17,8 @@
 
 package org.lttng.ust.agent.client;
 
+import org.lttng.ust.agent.session.EventRule;
+
 /**
  * TCP client listener interface.
  *
@@ -30,14 +32,14 @@ public interface ILttngTcpClientListener {
 
        /**
         * Callback for the TCP client to notify the listener agent that a request
-        * for enabling an event was sent from the session daemon.
+        * for enabling an event rule was sent from the session daemon.
         *
-        * @param eventName
-        *            The name of the event that was requested to be enabled.
+        * @param eventRule
+        *            The event rule that was requested to be enabled
         * @return Since we do not track individual sessions, right now this command
         *         cannot fail. It will always return true.
         */
-       boolean eventEnabled(String eventName);
+       boolean eventEnabled(EventRule eventRule);
 
        /**
         * Callback for the TCP client to notify the listener agent that a request
This page took 0.025722 seconds and 5 git commands to generate.