The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit f2fb1473 authored by ics's avatar ics
Browse files

use new protocol buffer

parent 16eaa5bd
* Use new protocol buf 3.12.1
4.0.20 16/06/2020
------
* sendCrashMail method added in SessionManager.
......
......@@ -61,12 +61,12 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem-messages</artifactId>
<version>0.0.1</version>
<version>0.0.3</version>
</dependency>
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>cameo-api</artifactId>
<version>0.1.8</version>
<version>0.1.9</version>
<exclusions>
<exclusion>
<groupId>fr.ill.ics</groupId>
......
......@@ -2411,7 +2411,7 @@ public class CommandZoneAccessor {
.setClientID(getClientID())
.setCommandBoxID(commandBoxID)
.setLineIndex(lineIndex)
.setType((forLoopType == ForLoopType.VALUES ? CommandZoneRequests.ForLoopType.Type.VALUES : CommandZoneRequests.ForLoopType.Type.RANGE))
.setType((forLoopType == ForLoopType.VALUES ? CommandZoneRequests.ForLoopType.Type.FOR_VALUES : CommandZoneRequests.ForLoopType.Type.FOR_RANGE))
.build();
commandBoxRequester.sendTwoParts(type.toByteArray(), request.toByteArray());
......@@ -2457,7 +2457,7 @@ public class CommandZoneAccessor {
CommandZoneRequests.ForLoopType.Type forLoopType = response.getValue();
if (forLoopType == CommandZoneRequests.ForLoopType.Type.VALUES) {
if (forLoopType == CommandZoneRequests.ForLoopType.Type.FOR_VALUES) {
return ForLoopType.VALUES;
}
......
......@@ -294,7 +294,7 @@ public class CommandZoneSyncEventNotifier {
// Notify if it is not the same client that sent the request.
if (request.getClientID() != getClientID()) {
CommandZoneRequests.ForLoopType.Type forLoopType = request.getType();
return new SetForLoopType(request.getCommandBoxID(), request.getLineIndex(), (forLoopType == CommandZoneRequests.ForLoopType.Type.VALUES ? ForLoopType.VALUES : ForLoopType.RANGE));
return new SetForLoopType(request.getCommandBoxID(), request.getLineIndex(), (forLoopType == CommandZoneRequests.ForLoopType.Type.FOR_VALUES ? ForLoopType.VALUES : ForLoopType.RANGE));
}
}
else if (type == CommandZoneRequests.Message.Type.SetStepType) {
......
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