public class VertxTcpProtocolServer extends Object implements ProtocolServer
| Constructor and Description |
|---|
VertxTcpProtocolServer(String host,
int port,
VertxTcpProtocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
void |
handler(ProtocolHandler handler) |
CompletableFuture<Void> |
listen() |
String |
toString() |
public VertxTcpProtocolServer(String host, int port, VertxTcpProtocol protocol)
public void handler(ProtocolHandler handler)
handler in interface ProtocolReaderpublic CompletableFuture<Void> listen()
listen in interface ProtocolServerpublic CompletableFuture<Void> close()
close in interface ProtocolServerCopyright © 2013-2015. All Rights Reserved.