Class TcpServer
java.lang.Object
io.vertx.core.AbstractVerticle
de.wuespace.telestion.services.connection.rework.tcp.TcpServer
- All Implemented Interfaces:
io.vertx.core.Verticle
public final class TcpServer
extends io.vertx.core.AbstractVerticle
An implementation of an unencrypted TCP-Server.
Features are:- Opening new connections to TCP-Clients
- Receiving data from all the open connections
- Keep the connections open until either no package gets sent for a certain amount of time (timeout) or the Client closes the connection
- Sending answers back to the Client if the connections are still open
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Configuration for this Verticle which can be loaded from a config.
An optional timeout can be specified which is the consecutive time without any packets incoming or outgoing after which a client will be disconnected. -
Field Summary
Fields inherited from class io.vertx.core.AbstractVerticle
context, vertx
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.vertx.core.AbstractVerticle
config, deploymentID, getVertx, init, processArgs, start, stop
-
Constructor Details
-
TcpServer
public TcpServer() -
TcpServer
-
-
Method Details