All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.transport.bus.AsObservable Maven / Gradle / Ivy

Go to download

Transport is a full stack, simple, fast, expandable application event bus for your applications. It provides a standardized and simple API, implemented in multiple languages, to allow any individual component inside your applications to talk to one another. This is the Java implementation of the Transport library.

The newest version!
/*
 * Copyright 2017-2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 *
 */
package com.vmware.transport.bus;

import com.vmware.transport.bus.model.MessageType;
import io.reactivex.Observable;

/**
 * Can return a raw Observable from a channel.
 */
public interface AsObservable {

    /**
     * Return a raw Observable
     * @param type filter message types being delivered via onNext()
     * @see MessageType
     * @see Observable
     * @return Observable that ticks onNext(T);
     */
    Observable getObservable(MessageType type);

    /**
     * Return a raw Observable that ticks all message types via onNext(T)
     * @see Observable
     * @return Observable that ticks onNext(T)
     */
    Observable getObservable();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy