public interface EventBus
Defines the interface for a generic event bus.
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. |
Observable<CouchbaseEvent> get()
Subscribe to the event bus to retrieve CouchbaseEvent
s.
void publish(CouchbaseEvent event)
Publish a CouchbaseEvent
into the bus.
event
- the event to publish.Copyright © 2014 Couchbase, Inc.