diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java index fc463437..2ae4098d 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java @@ -81,4 +81,9 @@ public AuthContext(Client client, String login, String profileName, String ip, C this.pair = pair; } } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java index 37394753..8853883e 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/ExitResponse.java @@ -79,4 +79,9 @@ public void execute(ChannelHandlerContext ctx, Client client) { sendResult(new ExitRequestEvent(ExitRequestEvent.ExitReason.NO_EXIT)); } } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/RestoreResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/RestoreResponse.java index 4e326b7a..3b70a898 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/RestoreResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/RestoreResponse.java @@ -105,4 +105,9 @@ public void execute(ChannelHandlerContext ctx, Client client) throws Exception { public interface ExtendedTokenProvider { boolean accept(Client client, AuthProviderPair pair, String extendedToken); } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/SetProfileResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/SetProfileResponse.java index ad1e37d5..b6cb4de1 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/SetProfileResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/SetProfileResponse.java @@ -40,4 +40,9 @@ public void execute(ChannelHandlerContext ctx, Client client) { } sendError("Profile not found"); } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/GetSecureLevelInfoResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/GetSecureLevelInfoResponse.java index b3e3c99f..5afd95cf 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/GetSecureLevelInfoResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/GetSecureLevelInfoResponse.java @@ -31,4 +31,9 @@ public void execute(ChannelHandlerContext ctx, Client client) { response.enabled = true; sendResult(secureProtectHandler.onGetSecureLevelInfo(response)); } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/HardwareReportResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/HardwareReportResponse.java index 785a42c3..5b0e25f3 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/HardwareReportResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/HardwareReportResponse.java @@ -31,4 +31,9 @@ public void execute(ChannelHandlerContext ctx, Client client) { sendResult(new HardwareReportRequestEvent()); } } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/VerifySecureLevelKeyResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/VerifySecureLevelKeyResponse.java index 7530995e..46e41a8d 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/VerifySecureLevelKeyResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/secure/VerifySecureLevelKeyResponse.java @@ -44,4 +44,9 @@ public void execute(ChannelHandlerContext ctx, Client client) { } } + + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/update/LauncherResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/update/LauncherResponse.java index de468ed6..ec4e0b53 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/update/LauncherResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/update/LauncherResponse.java @@ -110,4 +110,9 @@ public boolean accept(Client client, AuthProviderPair pair, String extendedToken } } + @Override + public ThreadSafeStatus getThreadSafeStatus() { + return ThreadSafeStatus.READ_WRITE; + } + }