Package net.glowstone.net.codec.login
Class EncryptionKeyRequestCodec
java.lang.Object
net.glowstone.net.codec.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(io.netty.buffer.ByteBuf buffer) io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf buf, EncryptionKeyRequestMessage message)
-
Constructor Details
-
EncryptionKeyRequestCodec
public EncryptionKeyRequestCodec()
-
-
Method Details
-
decode
- Specified by:
decodein 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:
encodein interfacecom.flowpowered.network.Codec<EncryptionKeyRequestMessage>- Throws:
IOException
-