com.github.houbb.config.socket.client.rpc.dto.RpcChannelFuture Maven / Gradle / Ivy
package com.github.houbb.config.socket.client.rpc.dto;
import io.netty.channel.ChannelFuture;
/**
* @author binbin.hou
* @since 1.0.0
*/
public class RpcChannelFuture {
/**
* channel future 信息
* @since 0.0.9
*/
private ChannelFuture channelFuture;
/**
* 对应的地址信息
* @since 0.0.9
*/
private RpcAddress address;
public static RpcChannelFuture newInstance() {
return new RpcChannelFuture();
}
public ChannelFuture channelFuture() {
return channelFuture;
}
public RpcChannelFuture channelFuture(ChannelFuture channelFuture) {
this.channelFuture = channelFuture;
return this;
}
public RpcAddress address() {
return address;
}
public RpcChannelFuture address(RpcAddress address) {
this.address = address;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy