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