
io.github.wanggit.antrpc.commons.generic.handler.ClientReadHandler Maven / Gradle / Ivy
package io.github.wanggit.antrpc.commons.generic.handler;
import io.github.wanggit.antrpc.commons.bean.RpcProtocol;
import io.github.wanggit.antrpc.commons.future.ReadClientFutureHolder;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
public class ClientReadHandler extends SimpleChannelInboundHandler {
@Override
protected void channelRead0(ChannelHandlerContext ctx, RpcProtocol msg) throws Exception {
ReadClientFutureHolder.receive(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy