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%2FSessiondListLoggersCommand.java;h=f5ad9c50443f6ec805ced0191e2456600693e148;hb=932535693bb8a719c40f63141dbfac786388ed4a;hp=cb20ea90b499d5e2a3dd3c1347d8ae558cf01b49;hpb=b9bc62c22453817e3a437f8a786ce8cdc445a6df;p=deliverable%2Flttng-ust.git diff --git a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/SessiondListLoggersCommand.java b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/SessiondListLoggersCommand.java index cb20ea90..f5ad9c50 100644 --- a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/SessiondListLoggersCommand.java +++ b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/SessiondListLoggersCommand.java @@ -35,7 +35,7 @@ import org.lttng.ust.agent.AbstractLttngAgent; class SessiondListLoggersCommand implements ISessiondCommand { @Override - public ILttngAgentResponse execute(AbstractLttngAgent agent) { + public LttngAgentResponse execute(AbstractLttngAgent agent) { final List loggerList = new ArrayList(); int dataSize = 0; @@ -47,7 +47,7 @@ class SessiondListLoggersCommand implements ISessiondCommand { return new SessiondListLoggersResponse(loggerList, dataSize); } - private static class SessiondListLoggersResponse implements ILttngAgentResponse { + private static class SessiondListLoggersResponse extends LttngAgentResponse { private final static int SIZE = 12; @@ -62,7 +62,7 @@ class SessiondListLoggersCommand implements ISessiondCommand { @Override public ReturnCode getReturnCode() { /* This command can't really fail */ - return ILttngAgentResponse.SUCESS_RESPONSE.getReturnCode(); + return ReturnCode.CODE_SUCCESS_CMD; } @Override