| Constructor and Description |
|---|
VertxStreamProducer(io.vertx.core.Vertx vertx,
java.lang.String streamAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
closed() |
protected void |
drain() |
VertxStreamProducer |
drainHandler(io.vertx.core.Handler<java.lang.Void> handler) |
io.vertx.core.Future<java.lang.Void> |
end() |
void |
end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
VertxStreamProducer |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
void |
markQueueFull() |
void |
sendEnd() |
VertxStreamProducer |
setWriteQueueMaxSize(int maxSize) |
static void |
stream(io.vertx.core.Vertx vertx,
java.lang.String controlAdr,
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) |
io.vertx.core.Future<java.lang.Void> |
write(io.vertx.core.buffer.Buffer data) |
void |
write(io.vertx.core.buffer.Buffer data,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
boolean |
writeQueueFull() |
public VertxStreamProducer(io.vertx.core.Vertx vertx,
java.lang.String streamAddress)
public VertxStreamProducer exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)
exceptionHandler in interface io.vertx.core.streams.StreamBaseexceptionHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public VertxStreamProducer setWriteQueueMaxSize(int maxSize)
setWriteQueueMaxSize in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public boolean writeQueueFull()
writeQueueFull in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public VertxStreamProducer drainHandler(io.vertx.core.Handler<java.lang.Void> handler)
drainHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public io.vertx.core.Future<java.lang.Void> write(io.vertx.core.buffer.Buffer data)
write in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>protected void drain()
public void sendEnd()
public static void stream(io.vertx.core.Vertx vertx,
java.lang.String controlAdr,
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
public void closed()
public void write(io.vertx.core.buffer.Buffer data,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
write in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public io.vertx.core.Future<java.lang.Void> end()
end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public void markQueueFull()
Copyright © 2022. All Rights Reserved.