Java 类io.netty.handler.codec.MessageToMessageEncoder 实例源码

项目:Cascade    文件:CryptoFunction.java   
public CryptoFunction(byte[] key, MessageToMessageEncoder<ByteBuf> encoder, MessageToMessageDecoder<ByteBuf> decoder) {

        this.key = key;
        this.encoder = encoder;
        this.decoder = decoder;
    }
项目:Cascade    文件:CryptoFunction.java   
public MessageToMessageEncoder<ByteBuf> getEncoder() {

        return encoder;
    }