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