vertx / io.vertx.reactivex.core.streams / StreamBase

StreamBase

interface StreamBase

Base interface for a stream. NOTE: This class has been automatically generated from the io.vertx.core.streams.StreamBase non RX-ified interface using Vert.x codegen.

Functions

exceptionHandler

abstract fun exceptionHandler(handler: Handler<Throwable>): StreamBase

Set an exception handler.

getDelegate

abstract fun getDelegate(): StreamBase

newInstance

open static fun newInstance(arg: StreamBase): StreamBase

Inheritors

ReadStream

interface ReadStream<T : Any> : StreamBase

Represents a stream of items that can be read from.

Any class that implements this interface can be used by a io.vertx.reactivex.core.streams.Pump to pump data from it to a io.vertx.reactivex.core.streams.WriteStream.

NOTE: This class has been automatically generated from the io.vertx.core.streams.ReadStream non RX-ified interface using Vert.x codegen.

WriteStream

interface WriteStream<T : Any> : StreamBase

Represents a stream of data that can be written to.

Any class that implements this interface can be used by a io.vertx.reactivex.core.streams.Pump to pump data from a ReadStream to it.

NOTE: This class has been automatically generated from the io.vertx.core.streams.WriteStream non RX-ified interface using Vert.x codegen.