encode
protected void encode(io.netty.channel.ChannelHandlerContext p_encode_1_,
IPacket<?> p_encode_2_,
io.netty.buffer.ByteBuf p_encode_3_)
throws java.lang.Exception
クラスからコピーされた説明: io.netty.handler.codec.MessageToByteEncoder
Encode a message into a ByteBuf. This method will be called for each written message that can be handled
by this encoder.
- 定義:
encode クラス内 io.netty.handler.codec.MessageToByteEncoder<IPacket<?>>
- パラメータ:
p_encode_1_ - the ChannelHandlerContext which this MessageToByteEncoder belongs to
p_encode_2_ - the message to encode
p_encode_3_ - the ByteBuf into which the encoded message will be written
- 例外:
java.lang.Exception - is thrown if an error occurs