public final class PingCodec extends Object implements com.flowpowered.network.Codec<PingMessage>
| Constructor and Description |
|---|
PingCodec() |
| Modifier and Type | Method and Description |
|---|---|
PingMessage |
decode(io.netty.buffer.ByteBuf buffer) |
io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf buf,
PingMessage message) |
public PingMessage decode(io.netty.buffer.ByteBuf buffer) throws IOException
decode in interface com.flowpowered.network.Codec<PingMessage>IOExceptionpublic io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf buf,
PingMessage message)
throws IOException
encode in interface com.flowpowered.network.Codec<PingMessage>IOExceptionCopyright © 2021. All rights reserved.