Turn ISessiondCommand into an abstract class
[deliverable/lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / client / LttngTcpSessiondClient.java
index 6cf971384260524869026351e868cfd5a4b608c2..2b31889c3019a5ae88864dee2995c42f34086c51 100644 (file)
@@ -250,7 +250,7 @@ public class LttngTcpSessiondClient implements Runnable {
                        }
                        case CMD_LIST:
                        {
-                               ISessiondCommand listLoggerCmd = new SessiondListLoggersCommand();
+                               SessiondCommand listLoggerCmd = new SessiondListLoggersCommand();
                                LttngAgentResponse response = listLoggerCmd.execute(logAgent);
                                responseData = response.getBytes();
                                break;
@@ -262,7 +262,7 @@ public class LttngTcpSessiondClient implements Runnable {
                                        responseData = LttngAgentResponse.FAILURE_RESPONSE.getBytes();
                                        break;
                                }
-                               ISessiondCommand enableCmd = new SessiondEnableEventCommand(inputData);
+                               SessiondCommand enableCmd = new SessiondEnableEventCommand(inputData);
                                LttngAgentResponse response = enableCmd.execute(logAgent);
                                responseData = response.getBytes();
                                break;
@@ -274,7 +274,7 @@ public class LttngTcpSessiondClient implements Runnable {
                                        responseData = LttngAgentResponse.FAILURE_RESPONSE.getBytes();
                                        break;
                                }
-                               ISessiondCommand disableCmd = new SessiondDisableEventCommand(inputData);
+                               SessiondCommand disableCmd = new SessiondDisableEventCommand(inputData);
                                LttngAgentResponse response = disableCmd.execute(logAgent);
                                responseData = response.getBytes();
                                break;
This page took 0.027203 seconds and 5 git commands to generate.