Package org.geysermc.geyser.network
Class BaseNetworkChannel
java.lang.Object
org.geysermc.geyser.network.BaseNetworkChannel
- All Implemented Interfaces:
org.geysermc.geyser.api.network.NetworkChannel
- Direct Known Subclasses:
ExtensionNetworkChannel,ExternalNetworkChannel
public abstract class BaseNetworkChannel
extends Object
implements org.geysermc.geyser.api.network.NetworkChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull Class<?> Gets the type of message this channel handles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.network.NetworkChannel
identifier, isPacket
-
Constructor Details
-
BaseNetworkChannel
-
-
Method Details
-
messageType
Gets the type of message this channel handles.- Returns:
- the message type
-