Introduce a new client listener interface for the Java agent
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / client / SessiondEnableEventCommand.java
index bb20ac5784454ac6170b22913f1e096e3c379fe3..82204eb19b895af2d22eca200169769f40d59114 100644 (file)
@@ -21,8 +21,6 @@ package org.lttng.ust.agent.client;
 import java.nio.ByteBuffer;
 import java.nio.ByteOrder;
 
-import org.lttng.ust.agent.AbstractLttngAgent;
-
 /**
  * Session daemon command indicating to the Java agent that some events were
  * enabled in the tracing session.
@@ -51,7 +49,7 @@ class SessiondEnableEventCommand implements ISessiondCommand {
        }
 
        @Override
-       public LttngAgentResponse execute(AbstractLttngAgent<?> agent) {
+       public LttngAgentResponse execute(ILttngTcpClientListener agent) {
                boolean success = agent.eventEnabled(this.eventName);
                return (success ? LttngAgentResponse.SUCESS_RESPONSE : LttngAgentResponse.FAILURE_RESPONSE);
        }
This page took 0.02375 seconds and 5 git commands to generate.