Class FormChannel
java.lang.Object
org.geysermc.floodgate.core.pluginmessage.channel.FormChannel
- All Implemented Interfaces:
PluginMessageChannel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.geysermc.floodgate.core.pluginmessage.PluginMessageChannel
PluginMessageChannel.Identity, PluginMessageChannel.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancallResponseConsumer(byte[] data) byte[]createFormData(org.geysermc.cumulus.form.Form form) protected shortgetFormId(byte[] data) protected shorthandleProxyCall(byte[] data, UUID sourceUuid, String sourceUsername, PluginMessageChannel.Identity sourceIdentity) handleServerCall(byte[] data, UUID playerUuid, String playerUsername) boolean
-
Constructor Details
-
FormChannel
public FormChannel()
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfacePluginMessageChannel
-
handleProxyCall
public PluginMessageChannel.Result handleProxyCall(byte[] data, UUID sourceUuid, String sourceUsername, PluginMessageChannel.Identity sourceIdentity) - Specified by:
handleProxyCallin interfacePluginMessageChannel
-
handleServerCall
public PluginMessageChannel.Result handleServerCall(byte[] data, UUID playerUuid, String playerUsername) - Specified by:
handleServerCallin interfacePluginMessageChannel
-
sendForm
-
createFormData
public byte[] createFormData(org.geysermc.cumulus.form.Form form) -
callResponseConsumer
protected boolean callResponseConsumer(byte[] data) -
getFormId
protected short getFormId(byte[] data) -
getNextFormId
protected short getNextFormId()
-