public class BedrockEncryptionEncoder
extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
BedrockEncryptionEncoder(javax.crypto.SecretKey key,
javax.crypto.Cipher cipher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final java.lang.String NAME
public BedrockEncryptionEncoder(javax.crypto.SecretKey key,
javax.crypto.Cipher cipher)
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>java.lang.Exception