Package | Description |
---|---|
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.net |
== Writing TCP servers and clients
Vert.x allows you to easily write non blocking TCP clients and servers.
|
Modifier and Type | Method and Description |
---|---|
NetClient |
Vertx.createNetClient()
Create a TCP/SSL client using default options
|
NetClient |
Vertx.createNetClient(NetClientOptions options)
Create a TCP/SSL client using the specified options
|
Modifier and Type | Method and Description |
---|---|
NetClient |
NetClient.connect(int port,
String host,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host . |
NetClient |
NetClient.connect(int port,
String host,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host . |
Copyright © 2018. All rights reserved.