Class LoginPluginMessageProcessor
java.lang.Object
net.minestom.server.network.plugin.LoginPluginMessageProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
awaitReplies
(long timeout, @NotNull TimeUnit timeUnit) void
handleResponse
(int messageId, byte[] responseData) @NotNull CompletableFuture
<LoginPlugin.Response>
-
Constructor Details
-
LoginPluginMessageProcessor
-
-
Method Details
-
request
@NotNull public @NotNull CompletableFuture<LoginPlugin.Response> request(@NotNull @NotNull String channel, byte @NotNull [] requestPayload) -
handleResponse
- Throws:
Exception
-
awaitReplies
- Throws:
Exception
-