Commit 980a1fbb authored by legoc's avatar legoc

Added TODO: errors in SessionManager to manage

parent cdaa3e66
......@@ -61,7 +61,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem-messages</artifactId>
<version>0.0.9</version>
<version>0.0.10</version>
</dependency>
<dependency>
<groupId>fr.ill.ics</groupId>
......
......@@ -132,6 +132,7 @@ public class SessionManager {
try {
Common.Int32Response response = Common.Int32Response.parseFrom(sessionRequester.receive());
// TODO: refine the behaviour depending on the error: MULTIPLE_CONNECTIONS_PER_USER_NOT_ALLOWED, MULTIPLE_CLIENTS_PER_ENDPOINT_NOT_ALLOWED.
if (response.hasError()) {
throw new ClientAlreadyLaunchedException();
}
......
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