Constructor and Description |
---|
DefaultEventBus(Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
Observable<CouchbaseEvent> |
get()
Subscribe to the event bus to retrieve
CouchbaseEvent s. |
void |
publish(CouchbaseEvent event)
Publish a
CouchbaseEvent into the bus. |
public DefaultEventBus(Scheduler scheduler)
public Observable<CouchbaseEvent> get()
EventBus
Subscribe to the event bus to retrieve CouchbaseEvent
s.
public void publish(CouchbaseEvent event)
EventBus
Publish a CouchbaseEvent
into the bus.
Copyright © 2014 Couchbase, Inc.