public class DefaultEventsRegistry extends Object implements EventsRegistry
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventsRegistry.InvokeResult |
Constructor and Description |
---|
DefaultEventsRegistry() |
Modifier and Type | Method and Description |
---|---|
int |
countListeners(String callbackId) |
DefaultEventsRegistry.InvokeResult |
invokeListeners(EventMessage evt) |
String |
on(String namespace,
String topic,
groovy.lang.Closure callback) |
String |
on(String namespace,
String topic,
Object bean,
Method callback) |
String |
on(String namespace,
String topic,
Object bean,
String callbackName) |
int |
removeListeners(String callbackId) |
public DefaultEventsRegistry()
public String on(String namespace, String topic, groovy.lang.Closure callback)
on
in interface EventsRegistry
public String on(String namespace, String topic, Object bean, String callbackName)
on
in interface EventsRegistry
public String on(String namespace, String topic, Object bean, Method callback)
on
in interface EventsRegistry
public int removeListeners(String callbackId)
removeListeners
in interface EventsRegistry
public int countListeners(String callbackId)
countListeners
in interface EventsRegistry
public DefaultEventsRegistry.InvokeResult invokeListeners(EventMessage evt)