public interface Protocol<T>
T
decode(io.netty.buffer.ByteBuf buf)
void
encode(T message, io.netty.buffer.ByteBuf buf)
void encode(T message, io.netty.buffer.ByteBuf buf) throws IOException
IOException
T decode(io.netty.buffer.ByteBuf buf) throws IOException
Copyright © 2020–2021. All rights reserved.