public class VertxTcpProtocolClient extends Object implements ProtocolClient
| Constructor and Description |
|---|
VertxTcpProtocolClient(String host,
int port,
VertxTcpProtocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
CompletableFuture<Void> |
connect() |
String |
toString() |
CompletableFuture<ByteBuffer> |
write(ByteBuffer request) |
public VertxTcpProtocolClient(String host, int port, VertxTcpProtocol protocol)
public CompletableFuture<ByteBuffer> write(ByteBuffer request)
write in interface ProtocolWriterpublic CompletableFuture<Void> connect()
connect in interface ProtocolClientpublic CompletableFuture<Void> close()
close in interface ProtocolClientCopyright © 2013-2015. All Rights Reserved.