public CryptoFunction(byte[] key, MessageToMessageEncoder<ByteBuf> encoder, MessageToMessageDecoder<ByteBuf> decoder) { this.key = key; this.encoder = encoder; this.decoder = decoder; }
public MessageToMessageEncoder<ByteBuf> getEncoder() { return encoder; }