com.github.linyuzai.connection.loadbalance.netty.concept.NettyConnectionFactory Maven / Gradle / Ivy
package com.github.linyuzai.connection.loadbalance.netty.concept;
import com.github.linyuzai.connection.loadbalance.core.concept.AbstractConnection;
import com.github.linyuzai.connection.loadbalance.core.concept.AbstractConnectionFactory;
import com.github.linyuzai.connection.loadbalance.core.concept.ConnectionLoadBalanceConcept;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import java.util.Map;
/**
* Netty 连接工厂。
*
* Netty connection factory.
*/
public class NettyConnectionFactory extends AbstractConnectionFactory {
public NettyConnectionFactory() {
addScopes(NettyScoped.NAME);
}
@Override
public boolean support(Object o, Map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy