Package net.glowstone.net.message.login
Class EncryptionKeyRequestCodec
java.lang.Object
net.glowstone.net.message.login.EncryptionKeyRequestCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<EncryptionKeyRequestMessage>
public final class EncryptionKeyRequestCodec
extends Object
implements com.flowpowered.network.Codec<EncryptionKeyRequestMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowpowered.network.Codec
com.flowpowered.network.Codec.CodecRegistration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(io.netty.buffer.ByteBuf buffer) io.netty.buffer.ByteBuf
encode
(io.netty.buffer.ByteBuf buf, EncryptionKeyRequestMessage message)
-
Constructor Details
-
EncryptionKeyRequestCodec
public EncryptionKeyRequestCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<EncryptionKeyRequestMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EncryptionKeyRequestMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<EncryptionKeyRequestMessage>
- Throws:
IOException
-