Class InternalSyncPacketChannel
- java.lang.Object
-
- de.dytanic.cloudnet.driver.network.def.internal.InternalSyncPacketChannel
-
@UnsafeClass public final class InternalSyncPacketChannel extends java.lang.ObjectThis is the internal api channel for synchronized communication between driver api and cloudnet node. This Class is unsafe about the architecture, because the complete network framework based of async listening.It's only for the base API by the CloudNetDriver class and the Bridge API
- See Also:
CloudNetDriver
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhandleIncomingChannel(Packet packet)static @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>>sendCallablePacket(@NotNull INetworkChannel channel, @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body)static @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>>sendCallablePacket(@NotNull INetworkChannel channel, @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, de.dytanic.cloudnet.common.concurrent.ITaskListener<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>> listener)
-
-
-
Method Detail
-
handleIncomingChannel
public static boolean handleIncomingChannel(Packet packet)
-
sendCallablePacket
@NotNull public static @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>> sendCallablePacket(@NotNull @NotNull INetworkChannel channel, @NotNull @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body)
-
sendCallablePacket
@NotNull public static @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>> sendCallablePacket(@NotNull @NotNull INetworkChannel channel, @NotNull @NotNull de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, de.dytanic.cloudnet.common.concurrent.ITaskListener<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>> listener)
-
-