public class VertxStreamProducer extends java.lang.Object implements org.vertx.java.core.streams.WriteStream<VertxStreamProducer>, Stream
Modifier and Type | Field and Description |
---|---|
boolean |
writeQueueFull |
Constructor and Description |
---|
VertxStreamProducer(org.vertx.java.core.Vertx vertx,
java.lang.String streamAddress) |
Modifier and Type | Method and Description |
---|---|
void |
closed() |
protected void |
drain() |
VertxStreamProducer |
drainHandler(org.vertx.java.core.Handler<java.lang.Void> handler) |
VertxStreamProducer |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
void |
sendEnd() |
VertxStreamProducer |
setWriteQueueMaxSize(int maxSize) |
static void |
stream(org.vertx.java.core.Vertx vertx,
java.lang.String controlAdr,
org.vertx.java.core.streams.ReadStream<?> bodyStream) |
VertxStreamProducer |
write(org.vertx.java.core.buffer.Buffer data) |
boolean |
writeQueueFull() |
public VertxStreamProducer(org.vertx.java.core.Vertx vertx, java.lang.String streamAddress)
public VertxStreamProducer exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<VertxStreamProducer>
public VertxStreamProducer setWriteQueueMaxSize(int maxSize)
setWriteQueueMaxSize
in interface org.vertx.java.core.streams.DrainSupport<VertxStreamProducer>
public boolean writeQueueFull()
writeQueueFull
in interface org.vertx.java.core.streams.DrainSupport<VertxStreamProducer>
public VertxStreamProducer drainHandler(org.vertx.java.core.Handler<java.lang.Void> handler)
drainHandler
in interface org.vertx.java.core.streams.DrainSupport<VertxStreamProducer>
public VertxStreamProducer write(org.vertx.java.core.buffer.Buffer data)
write
in interface org.vertx.java.core.streams.WriteStream<VertxStreamProducer>
protected void drain()
public void sendEnd()
public static void stream(org.vertx.java.core.Vertx vertx, java.lang.String controlAdr, org.vertx.java.core.streams.ReadStream<?> bodyStream)
public void closed()
Copyright © 2021. All Rights Reserved.