public class EventBusHookListener extends Object
This class assists in listening for messages arriving on the event bus
via the EventBusHook.
| Constructor and Description |
|---|
EventBusHookListener(String componentAddress,
org.vertx.java.core.eventbus.EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
EventBusHookListener |
emitHandler(org.vertx.java.core.Handler sendHandler)
Sets a send handler.
|
EventBusHookListener |
receiveHandler(org.vertx.java.core.Handler receiveHandler)
Sets a receive handler.
|
EventBusHookListener |
startHandler(org.vertx.java.core.Handler<InstanceContext> startHandler)
Sets a start handler.
|
EventBusHookListener |
stopHandler(org.vertx.java.core.Handler<InstanceContext> stopHandler)
Sets a stop handler.
|
public EventBusHookListener(String componentAddress, org.vertx.java.core.eventbus.EventBus eventBus)
public EventBusHookListener startHandler(org.vertx.java.core.Handler<InstanceContext> startHandler)
startHandler - A start handler.public EventBusHookListener receiveHandler(org.vertx.java.core.Handler receiveHandler)
receiveHandler - A receive handler.public EventBusHookListener emitHandler(org.vertx.java.core.Handler sendHandler)
sendHandler - A send handler.public EventBusHookListener stopHandler(org.vertx.java.core.Handler<InstanceContext> stopHandler)
stopHandler - A stop handler.Copyright © 2013-2014. All Rights Reserved.