Commit a65c9bf7 authored by yannick legoc's avatar yannick legoc
Browse files

added print to CommandZoneWrapper

parent 7857b9d8
......@@ -289,4 +289,9 @@ public class CommandZoneWrapper implements ICommandZoneEventListener {
public void removeServerId() {
}
public String print() {
return serverCommandZone.print();
}
}
\ No newline at end of file
......@@ -406,7 +406,6 @@ public class CommandZoneAccessorProxy {
LOGGER.logp(Level.SEVERE, this.getClass().getName(), "getConflictingCommands", "CommandZoneNotFoundException with ID " + commandZoneId);
}
return "";
}
public double getEstimatedTime(int commandZoneId) {
......@@ -418,4 +417,8 @@ public class CommandZoneAccessorProxy {
}
return 0.0;
}
public String print(int commandZoneId) {
return commandZoneAccessor.print(commandZoneId);
}
}
\ No newline at end of file
......@@ -149,4 +149,8 @@ public class ServerCommandZone {
public double getEstimatedTime() {
return CommandZoneAccessorProxy.getInstance(serverId).getEstimatedTime(commandZoneId);
}
public String print() {
return CommandZoneAccessorProxy.getInstance(serverId).print(commandZoneId);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment