public class McEventBus
extends io.vertx.core.AbstractVerticle
Modifier and Type | Method and Description |
---|---|
static McEventBus |
getInstance() |
void |
publish(String topic,
Object data) |
io.vertx.core.eventbus.MessageConsumer<MessageStatus> |
registerConsumer(String topic,
io.vertx.core.Handler<io.vertx.core.eventbus.Message<MessageStatus>> handler) |
void |
start() |
public static McEventBus getInstance()
public void start()
start
in class io.vertx.core.AbstractVerticle
public io.vertx.core.eventbus.MessageConsumer<MessageStatus> registerConsumer(String topic, io.vertx.core.Handler<io.vertx.core.eventbus.Message<MessageStatus>> handler)
Copyright © 2015–2019. All rights reserved.