public class VertxStreamConsumer extends java.lang.Object implements org.vertx.java.core.streams.ReadStream<VertxStreamConsumer>, Stream
Constructor and Description |
---|
VertxStreamConsumer(org.vertx.java.core.Vertx vertx,
java.lang.String streamAddress) |
Modifier and Type | Method and Description |
---|---|
VertxStreamConsumer |
dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler) |
VertxStreamConsumer |
endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler) |
VertxStreamConsumer |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
void |
fail(java.lang.Throwable e) |
VertxStreamConsumer |
pause() |
void |
pushData(org.vertx.java.core.buffer.Buffer data) |
void |
pushEnd() |
VertxStreamConsumer |
resume() |
public VertxStreamConsumer(org.vertx.java.core.Vertx vertx, java.lang.String streamAddress)
public VertxStreamConsumer dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler)
dataHandler
in interface org.vertx.java.core.streams.ReadSupport<VertxStreamConsumer,org.vertx.java.core.buffer.Buffer>
public VertxStreamConsumer pause()
pause
in interface org.vertx.java.core.streams.ReadSupport<VertxStreamConsumer,org.vertx.java.core.buffer.Buffer>
public VertxStreamConsumer resume()
resume
in interface org.vertx.java.core.streams.ReadSupport<VertxStreamConsumer,org.vertx.java.core.buffer.Buffer>
public VertxStreamConsumer exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<VertxStreamConsumer>
public VertxStreamConsumer endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler)
endHandler
in interface org.vertx.java.core.streams.ReadStream<VertxStreamConsumer>
public void pushData(org.vertx.java.core.buffer.Buffer data)
public void pushEnd()
public void fail(java.lang.Throwable e)
Copyright © 2021. All Rights Reserved.