public class VertxEventBusProtocolServer extends Object implements ProtocolServer, io.vertx.core.Handler<io.vertx.core.eventbus.Message<byte[]>>
| Constructor and Description |
|---|
VertxEventBusProtocolServer(String address,
io.vertx.core.Vertx vertx) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
void |
handle(io.vertx.core.eventbus.Message<byte[]> message) |
void |
handler(ProtocolHandler handler) |
CompletableFuture<Void> |
listen() |
String |
toString() |
public VertxEventBusProtocolServer(String address, io.vertx.core.Vertx vertx)
public void handle(io.vertx.core.eventbus.Message<byte[]> message)
handle in interface io.vertx.core.Handler<io.vertx.core.eventbus.Message<byte[]>>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.