Package net.glowstone.net.codec.login
Class EncryptionKeyResponseCodec
java.lang.Object
net.glowstone.net.codec.login.EncryptionKeyResponseCodec
- All Implemented Interfaces:
com.flowpowered.network.Codec<EncryptionKeyResponseMessage>
public final class EncryptionKeyResponseCodec
extends Object
implements com.flowpowered.network.Codec<EncryptionKeyResponseMessage>
-
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, EncryptionKeyResponseMessage message)
-
Constructor Details
-
EncryptionKeyResponseCodec
public EncryptionKeyResponseCodec()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacecom.flowpowered.network.Codec<EncryptionKeyResponseMessage>
- Throws:
IOException
-
encode
public io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf, EncryptionKeyResponseMessage message) throws IOException - Specified by:
encode
in interfacecom.flowpowered.network.Codec<EncryptionKeyResponseMessage>
- Throws:
IOException
-