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) |
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) |
VertxStreamProducer |
write(io.vertx.core.buffer.Buffer data) |
io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> |
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.StreamBase
exceptionHandler
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 VertxStreamProducer 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 io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> 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 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 © 2021. All Rights Reserved.