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