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