public class PacketEncryptor
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
Modifier and Type | Field and Description |
---|---|
private PacketEncryptionManager |
manager |
Constructor and Description |
---|
PacketEncryptor(Cipher cipher) |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
io.netty.buffer.ByteBuf byteBuf2) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
private final PacketEncryptionManager manager
public PacketEncryptor(Cipher cipher)