List of usage examples for io.vertx.core.streams ReadStream interface-usage
From source file com.hubrick.vertx.s3.util.ChunkedBufferReadStream.java
/** * @author Emir Dizdarevic * @since 3.1.0 */ public class ChunkedBufferReadStream implements ReadStream<Buffer> {
From source file io.nitor.vertx.util.ReadStreamWrapper.java
public class ReadStreamWrapper<T> implements ReadStream<T> { public final ReadStream<T> wrappedStream; public ReadStreamWrapper(ReadStream<T> wrappedStream) { this.wrappedStream = wrappedStream; }
From source file io.reactiverse.pgclient.PgStream.java
/** * A row oriented stream. */ @VertxGen public interface PgStream<T> extends ReadStream<T> {
From source file io.reactiverse.pgclient.pubsub.PgChannel.java
/**
* A channel to Postgres that tracks the subscription to a given Postgres channel using the {@code LISTEN/UNLISTEN} commands.
* <p/>
* When paused the channel discards the messages.
*/
@VertxGen
From source file io.sqp.proxy.vertx.AsyncInputStream.java
/** * Reads an input stream in an asynchronous and Vert.X compliant way. * Instances acts a finite state machine with 3 different states: {@literal ACTIVE, PAUSED, * CLOSED}. The transition between the states depends on the control flow (i.e. the pump consuming the stream). */ public class AsyncInputStream implements ReadStream<Buffer> {
From source file io.sqp.proxy.vertx.WebsocketSendQueueStream.java
/** * @author Stefan Burnicki */ public class WebsocketSendQueueStream implements ReadStream<Buffer> { private boolean _isPaused; private Queue<QueuedStream> _streamQueue;
From source file org.apache.servicecomb.foundation.vertx.stream.InputStreamToReadStream.java
public class InputStreamToReadStream implements ReadStream<Buffer> { private static final Logger LOGGER = LoggerFactory.getLogger(InputStreamToReadStream.class); public static final int DEFAULT_READ_BUFFER_SIZE = 1024 * 1024; private Context context;
From source file org.sfs.io.AsyncFileReader.java
public interface AsyncFileReader extends ReadStream<Buffer> { long startPosition(); long readPosition();
From source file org.sfs.io.BufferReadStream.java
public class BufferReadStream implements ReadStream<Buffer> { private final Buffer buffer; private boolean consumed = false; private Handler<Buffer> dataHandler; private boolean paused = false;
From source file org.sfs.io.CipherReadStream.java
public class CipherReadStream implements ReadStream<Buffer> { private static final Logger LOGGER = getLogger(CipherReadStream.class); private ReadStream<Buffer> delegate; private Handler<Void> delegateEndHandler; private Handler<Throwable> delegateExceptionHandler;