Package net.bluemind.core.rest.vertx
Class VertxStreamProducer
java.lang.Object
net.bluemind.core.rest.vertx.VertxStreamProducer
- All Implemented Interfaces:
 io.vertx.core.streams.StreamBase,io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>,Stream
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclosed()protected voiddrain()drainHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.Future<Void> end()voidexceptionHandler(io.vertx.core.Handler<Throwable> handler) voidvoidsendEnd()setWriteQueueMaxSize(int maxSize) static voidstream(io.vertx.core.Vertx vertx, String controlAdr, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) io.vertx.core.Future<Void> write(io.vertx.core.buffer.Buffer data) voidwrite(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.streams.WriteStream
end, end 
- 
Constructor Details
- 
VertxStreamProducer
 
 - 
 - 
Method Details
- 
exceptionHandler
- Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
setWriteQueueMaxSize
- Specified by:
 setWriteQueueMaxSizein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
writeQueueFull
public boolean writeQueueFull()- Specified by:
 writeQueueFullin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
drainHandler
- Specified by:
 drainHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
write
- Specified by:
 writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
drain
protected void drain() - 
sendEnd
public void sendEnd() - 
stream
public static void stream(io.vertx.core.Vertx vertx, String controlAdr, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)  - 
closed
public void closed() - 
write
public void write(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
 writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
markQueueFull
public void markQueueFull() 
 -