
com.cookingfox.rxbus_eventbus.DefaultRxBus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxbus-eventbus-java Show documentation
Show all versions of rxbus-eventbus-java Show documentation
A simple EventBus using RX Java
The newest version!
package com.cookingfox.rxbus_eventbus;
import rx.Observable;
import rx.Observer;
import rx.Subscription;
import rx.functions.Action1;
import rx.functions.Func0;
import rx.functions.Func1;
import rx.subjects.PublishSubject;
import rx.subjects.SerializedSubject;
import rx.subjects.Subject;
import java.util.Objects;
/**
* Default implementation of {@link RxBus}.
*/
public class DefaultRxBus implements RxBus {
//----------------------------------------------------------------------------------------------
// PROPERTIES
//----------------------------------------------------------------------------------------------
/**
* Serialized publish subject.
*/
protected final Subject
© 2015 - 2025 Weber Informatics LLC | Privacy Policy