Example usage for io.vertx.core.net.impl NetClientImpl NetClientImpl

List of usage examples for io.vertx.core.net.impl NetClientImpl NetClientImpl

Introduction

In this page you can find the example usage for io.vertx.core.net.impl NetClientImpl NetClientImpl.

Prototype

public NetClientImpl(VertxInternal vertx, NetClientOptions options, boolean useCreatingContext) 

Source Link

Usage

From source file:io.servicecomb.foundation.vertx.client.tcp.AbstractTcpClientVerticle.java

License:Apache License

@Override
public void start() throws Exception {
    super.start();
    clientConfig = (TcpClientConfig) config().getValue(CLIENT_OPTIONS);

    // vertx.createNetClient()?netClient??
    netClient = new NetClientImpl((VertxInternal) vertx, clientConfig, false);
}