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