X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=liblttng-ust-java-agent%2Fjava%2Flttng-ust-agent-common%2Forg%2Flttng%2Fust%2Fagent%2Fclient%2FILttngTcpClientListener.java;h=031d4e048863c4e74802e03a90029c17401b6896;hb=3daf5cba66edbd7d8b608be1372a1665189b3c67;hp=662b998283eb33902fd6d2e6ff15d95c4571cf8b;hpb=3165c2f51abe3093f4c5512b499e33cb380b387d;p=deliverable%2Flttng-ust.git diff --git a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/ILttngTcpClientListener.java b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/ILttngTcpClientListener.java index 662b9982..031d4e04 100644 --- a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/ILttngTcpClientListener.java +++ b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/ILttngTcpClientListener.java @@ -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