Examples of TcpGateway


Examples of io.fabric8.gateway.handlers.tcp.TcpGateway

    }

    protected TcpGateway addGateway(List<TcpGateway> gateways, Vertx vertx, ServiceMap serviceMap, String protocolName, boolean enabled, int listenPort, LoadBalancer pathLoadBalancer, LoadBalancer serviceLoadBalancer) {
        if (enabled) {
            TcpGatewayHandler handler = new TcpGatewayHandler(vertx, serviceMap, protocolName, pathLoadBalancer, serviceLoadBalancer);
            TcpGateway gateway = new TcpGateway(vertx, serviceMap, listenPort, protocolName, handler);
            if (Strings.isNotBlank(host)) {
                gateway.setHost(host);
            }
            gateways.add(gateway);
            return gateway;
        } else {
            return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.